Skip to content
Permalink
Browse files

Update sip binding

  • Loading branch information
pblottiere committed Jan 29, 2018
1 parent 414737d commit e24b6bb1196de122f36fe211fee1780be18fbce6
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/core/qgsvectorlayer.sip.in
@@ -1483,7 +1483,7 @@ QVariant is used (the default behavior), then the feature's current value will b
retrieved and used. Note that this involves a feature request to the underlying data provider,
so it is more efficient to explicitly pass an ``oldValue`` if it is already available.

If ``skipDefaultValue`` is set to true, default field values will not
If ``skipDefaultValues`` is set to true, default field values will not
be updated. This can be used to override default field value expressions.

Returns true if the feature's attribute was successfully changed.
@@ -1504,7 +1504,7 @@ Returns true if the feature's attribute was successfully changed.
.. seealso:: :py:func:`updateFeature`
%End

bool changeAttributeValues( QgsFeatureId fid, const QgsAttributeMap &newValues, const QgsAttributeMap &oldValues = QgsAttributeMap(), bool skeipDefaultValues = false );
bool changeAttributeValues( QgsFeatureId fid, const QgsAttributeMap &newValues, const QgsAttributeMap &oldValues = QgsAttributeMap(), bool skipDefaultValues = false );
%Docstring
Changes attributes' values for a feature (but does not immediately
commit the changes).
@@ -1520,7 +1520,7 @@ automatically retrieved and used. Note that this involves a feature
request to the underlying data provider, so it is more efficient to
explicitly pass an oldValue if it is already available.

If ``skipDefaultValue`` is set to true, default field values will not
If ``skipDefaultValues`` is set to true, default field values will not
be updated. This can be used to override default field value
expressions.

0 comments on commit e24b6bb

Please sign in to comment.
You can’t perform that action at this time.