From 75c3ad0f9090f2211da78926b6e1547f9a50390f Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Thu, 10 Oct 2024 14:53:20 +0200 Subject: [PATCH] Fix docstring --- python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in | 2 +- python/core/auto_generated/qgsfieldconstraints.sip.in | 2 +- src/core/qgsfieldconstraints.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in b/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in index 8c27d2e8216..adf14b5af38 100644 --- a/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in +++ b/python/PyQt6/core/auto_generated/qgsfieldconstraints.sip.in @@ -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` diff --git a/python/core/auto_generated/qgsfieldconstraints.sip.in b/python/core/auto_generated/qgsfieldconstraints.sip.in index f26ffa6f6e2..c9530a1a482 100644 --- a/python/core/auto_generated/qgsfieldconstraints.sip.in +++ b/python/core/auto_generated/qgsfieldconstraints.sip.in @@ -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` diff --git a/src/core/qgsfieldconstraints.h b/src/core/qgsfieldconstraints.h index f23b4cc5005..8bd87ac260a 100644 --- a/src/core/qgsfieldconstraints.h +++ b/src/core/qgsfieldconstraints.h @@ -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() */