Skip to content

Commit

Permalink
Make doctest happy
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 4, 2018
1 parent b5b16df commit 6c72d7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgsvectordataprovider.sip.in
Expand Up @@ -128,7 +128,7 @@ Number of features in the layer
%Docstring
Returns true if the layer contains at least one feature.

.. versionadded:: 3.2
.. versionadded:: 3.4
%End

virtual QgsFeatureSource::FeatureAvailability hasFeatures() const final;
Expand All @@ -139,7 +139,7 @@ FeatureAvailability.NoFeaturesAvailable.
Calls empty() internally. Providers should override empty()
instead if they provide an optimized version of this call.

.. versionadded:: 3.2
.. versionadded:: 3.4

.. seealso:: :py:func:`empty`
%End
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfeaturesource.h
Expand Up @@ -39,7 +39,7 @@ class CORE_EXPORT QgsFeatureSource
public:

/**
* Return value for hasFeatures() to determine if a source is empty.
* Possible return value for hasFeatures() to determine if a source is empty.
* It is implemented as a three-value logic, so it can return if
* there are features available for sure, if there are no features
* available for sure or if there might be features available but
Expand Down

0 comments on commit 6c72d7e

Please sign in to comment.