Skip to content

Commit

Permalink
Merge pull request #60067 from qgis/backport-60062-to-release-3_40
Browse files Browse the repository at this point in the history
[Backport release-3_40] Fix small typo in QgsGeometry.constGet() docstring
  • Loading branch information
rouault authored Jan 7, 2025
2 parents 3406511 + 0c0748e commit a5375d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ geom is transferred.
%Docstring
Returns a non-modifiable (const) reference to the underlying abstract geometry primitive.

This is much faster then calling the non-const :py:func:`~QgsGeometry.get` method.
This is much faster than calling the non-const :py:func:`~QgsGeometry.get` method.

.. note::

Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/geometry/qgsgeometry.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ geom is transferred.
%Docstring
Returns a non-modifiable (const) reference to the underlying abstract geometry primitive.

This is much faster then calling the non-const :py:func:`~QgsGeometry.get` method.
This is much faster than calling the non-const :py:func:`~QgsGeometry.get` method.

.. note::

Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class CORE_EXPORT QgsGeometry
/**
* Returns a non-modifiable (const) reference to the underlying abstract geometry primitive.
*
* This is much faster then calling the non-const get() method.
* This is much faster than calling the non-const get() method.
*
* \note In QGIS 2.x this method was named geometry().
*
Expand Down

0 comments on commit a5375d4

Please sign in to comment.