atoti.StringComparison(How
*,
case: Literal[‘sensitive’, ‘insensitive’] ='sensitive',
digits: Literal[‘lexicographic’, ‘numeric’] ='lexicographic',
)
strings are compared.
Objects that do not implement Comparable are compared through their string representation, so these options apply to them too.
Ignored for all the other data types.
See also:
atoti.Ordering.string_comparison.Added in version 6.2.1.
Attributes
case
How letters are compared."sensitive": letters differing only by case are different."insensitive": the case is ignored.
digits
How digit sequences are compared."lexicographic": character by character."numeric": by their value.