Fix docstring

This commit is contained in:
Matthias Kuhn 2018-05-25 11:55:44 +02:00
parent 8be4cc6079
commit 6a265d4a5c
No known key found for this signature in database
GPG Key ID: A0E766808764D73F
2 changed files with 6 additions and 6 deletions

View File

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

View File

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