Fix docstring

This commit is contained in:
Alessandro Pasotti 2024-10-10 14:53:20 +02:00 committed by Nyall Dawson
parent 5c99689fd2
commit 75c3ad0f90
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ is not present on this field.
%Docstring
Returns the strength of a field constraint, or ConstraintStrengthNotSet if the constraint
is not present on this field. If the strength is not set returns ConstraintStrengthNotSet
for anything but ConstraintExpression when returns ConstraintStrengthHard.
for anything but ConstraintExpression which returns ConstraintStrengthHard.
.. seealso:: :py:func:`constraints`

View File

@ -73,7 +73,7 @@ is not present on this field.
%Docstring
Returns the strength of a field constraint, or ConstraintStrengthNotSet if the constraint
is not present on this field. If the strength is not set returns ConstraintStrengthNotSet
for anything but ConstraintExpression when returns ConstraintStrengthHard.
for anything but ConstraintExpression which returns ConstraintStrengthHard.
.. seealso:: :py:func:`constraints`

View File

@ -90,7 +90,7 @@ class CORE_EXPORT QgsFieldConstraints
/**
* Returns the strength of a field constraint, or ConstraintStrengthNotSet if the constraint
* is not present on this field. If the strength is not set returns ConstraintStrengthNotSet
* for anything but ConstraintExpression when returns ConstraintStrengthHard.
* for anything but ConstraintExpression which returns ConstraintStrengthHard.
* \see constraints()
* \see setConstraintStrength()
*/