Skip to content
Permalink
Browse files

Fix docstring

  • Loading branch information
m-kuhn committed Jun 4, 2018
1 parent 8be4cc6 commit 6a265d4a5cb1fdf439ef07e0e6494de7cc8f1cb1
Showing with 6 additions and 6 deletions.
  1. +3 −3 python/core/auto_generated/qgsvectordataprovider.sip.in
  2. +3 −3 src/core/qgsvectordataprovider.h
@@ -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

@@ -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()

0 comments on commit 6a265d4

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