We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e6b75 commit e5366b0Copy full SHA for e5366b0
1 file changed
python/core/qgsfield.sip
@@ -127,7 +127,13 @@ public:
127
void remove( int fieldIdx );
128
129
bool isEmpty() const;
130
- int count() const /__len__/;
+ // __len__ annotation since sip 4.10.3
131
+ //int count() const /__len__/;
132
+ int count() const;
133
+ int __len__() const;
134
+%MethodCode
135
+ sipRes = sipCpp->count();
136
+%End
137
int size() const;
138
//const QgsField& operator[](int i) const;
139
//QgsField& operator[](int i);
0 commit comments