Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger committed Sep 27, 2024
1 parent 9eace43 commit 5a344be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/howto/sorting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Strategies For Unorderable Types and Values
A number of type and value issues can arise when sorting.
Here are some strategies that can help:

* Convert inputs to strings prior to sorting:
* Convert non-comparable input types to strings prior to sorting:

.. doctest::

Expand Down Expand Up @@ -316,7 +316,7 @@ Likewise, ``None`` can be stripped from datasets as well:

This is needed because ``None`` is not comparable to other types.

* Convert mapping types into sortable items before sorting:
* Convert mapping types into sorted item lists before sorting:

.. doctest::

Expand Down

0 comments on commit 5a344be

Please sign in to comment.