Skip to content

Commit 13d866f

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

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
@@ -145,7 +145,7 @@ def sort_tuple_none_aware(collection: Collection[Tuple], ascending=True):
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.
147147
For ints and floats ``int()`` and ``float()`` yield ``0`` and ``0.0`` respectively; for strings, ``str()`` yields ``''``.
148-
The constructor is determined by calling type() on the first non-`None` element of the respective column.
148+
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.
151151
"""

0 commit comments

Comments
 (0)