Skip to content

Commit 3ef980e

Browse files
Docs update
Co-authored-by: Kevin Klein <7267523+kklein@users.noreply.github.com>
1 parent 0699ddb commit 3ef980e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datajudge/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def sort_tuple_none_aware(collection: Collection[Tuple], ascending=True):
144144
"""
145145
Sorts a collection of either tuples or single elements,
146146
where `None` is considered the same as the default value of the respective column's type.
147-
For ints/floats `int()`/`float()` yield `0`/`0.0`, for strings `str()` yields `''`.
147+
For ints and floats ``int()`` and ``float()`` yield ``0`` and ``0.0`` respectively; for strings, ``str()`` yields ``''``.
148148
The constructor is determined by calling type() on the first non-`None` element of the respective column.
149149
150150
Checks and requires all elements in collection are tuples, and that all tuples have the same length.

0 commit comments

Comments
 (0)