Skip to content

Commit

Permalink
Fix list formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 10, 2021
1 parent 49e48f9 commit 7b19333
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions python/core/auto_generated/qgspointxy.sip.in
Expand Up @@ -33,10 +33,7 @@ Some valid use cases for :py:class:`QgsPointXY` include:

Use cases for which :py:class:`QgsPointXY` is NOT a valid choice include:

- Storage of coordinates for a geometry. Since :py:class:`QgsPointXY` is strictly 2-dimensional

it should never be used to store coordinates for vector geometries, as this will involve
a loss of any z or m values present in the geometry.
- Storage of coordinates for a geometry. Since :py:class:`QgsPointXY` is strictly 2-dimensional it should never be used to store coordinates for vector geometries, as this will involve a loss of any z or m values present in the geometry.

.. seealso:: :py:class:`QgsPoint`

Expand Down
2 changes: 1 addition & 1 deletion scripts/astyle_all.sh
Expand Up @@ -34,7 +34,7 @@ find python src tests -type f -print | while read -r f; do
fi

echo -ne "Reformatting $f $elcr"
astyle.sh "$f" || true &
astyle.sh "$f" || true
done

remove_temporary_files.sh
Expand Down
5 changes: 1 addition & 4 deletions src/core/qgspointxy.h
Expand Up @@ -50,10 +50,7 @@ class QgsPoint;
*
* Use cases for which QgsPointXY is NOT a valid choice include:
*
* - Storage of coordinates for a geometry. Since QgsPointXY is strictly 2-dimensional
*
* it should never be used to store coordinates for vector geometries, as this will involve
* a loss of any z or m values present in the geometry.
* - Storage of coordinates for a geometry. Since QgsPointXY is strictly 2-dimensional it should never be used to store coordinates for vector geometries, as this will involve a loss of any z or m values present in the geometry.
*
* \see QgsPoint
* \since QGIS 3.0
Expand Down

0 comments on commit 7b19333

Please sign in to comment.