Skip to content

Commit 66f2272

Browse files
m-kuhnnyalldawson
authored andcommitted
Improve API docs concerning sort behavior
1 parent a58d8d5 commit 66f2272

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

python/core/auto_generated/qgis.sip.in

+2
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ Compares two QVariant values and returns whether the first is less than the seco
184184
Useful for sorting lists of variants, correctly handling sorting of the various
185185
QVariant data types (such as strings, numeric values, dates and times)
186186

187+
Invalid < NULL < Values
188+
187189
.. seealso:: :py:func:`qgsVariantGreaterThan`
188190
%End
189191

src/core/qgis.h

+3
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ CORE_EXPORT qlonglong qgsPermissiveToLongLong( QString string, bool &ok );
444444
* Compares two QVariant values and returns whether the first is less than the second.
445445
* Useful for sorting lists of variants, correctly handling sorting of the various
446446
* QVariant data types (such as strings, numeric values, dates and times)
447+
*
448+
* Invalid < NULL < Values
449+
*
447450
* \see qgsVariantGreaterThan()
448451
*/
449452
CORE_EXPORT bool qgsVariantLessThan( const QVariant &lhs, const QVariant &rhs );

0 commit comments

Comments
 (0)