mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
python QgsField.__len__() fix; fixes PyQgsMemoryProvider and PyQgsVectorLayer test on platforms with SIP < 4.10.3
This commit is contained in:
parent
f0e6b7564e
commit
e5366b06c6
@ -127,7 +127,13 @@ public:
|
||||
void remove( int fieldIdx );
|
||||
|
||||
bool isEmpty() const;
|
||||
int count() const /__len__/;
|
||||
// __len__ annotation since sip 4.10.3
|
||||
//int count() const /__len__/;
|
||||
int count() const;
|
||||
int __len__() const;
|
||||
%MethodCode
|
||||
sipRes = sipCpp->count();
|
||||
%End
|
||||
int size() const;
|
||||
//const QgsField& operator[](int i) const;
|
||||
//QgsField& operator[](int i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user