Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix docstring
  • Loading branch information
m-kuhn committed Jun 4, 2018
1 parent 8be4cc6 commit 6a265d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions python/core/auto_generated/qgsvectordataprovider.sip.in
Expand Up @@ -134,10 +134,10 @@ Returns true if the layer contains at least one feature.
virtual QgsFeatureSource::FeatureAvailability hasFeatures() const final;
%Docstring
Will always return FeatureAvailability.FeaturesAvailable or
FeatureAvailability.FeaturesMaybeAvailable.
FeatureAvailability.NoFeaturesAvailable.

Calls empty() internally. Providers should override empty instead
if they provide an optimized version of this call.
Calls empty() internally. Providers should override empty()
instead if they provide an optimized version of this call.

.. versionadded:: 3.2

Expand Down
6 changes: 3 additions & 3 deletions src/core/qgsvectordataprovider.h
Expand Up @@ -172,10 +172,10 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider, public QgsFeat

/**
* Will always return FeatureAvailability::FeaturesAvailable or
* FeatureAvailability::FeaturesMaybeAvailable.
* FeatureAvailability::NoFeaturesAvailable.
*
* Calls empty() internally. Providers should override empty instead
* if they provide an optimized version of this call.
* Calls empty() internally. Providers should override empty()
* instead if they provide an optimized version of this call.
*
* \since QGIS 3.2
* \see empty()
Expand Down

0 comments on commit 6a265d4

Please sign in to comment.