diff options
Diffstat (limited to 'Lib/pprint.py')
-rw-r--r-- | Lib/pprint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pprint.py b/Lib/pprint.py index 87649b4..bcf2eed 100644 --- a/Lib/pprint.py +++ b/Lib/pprint.py @@ -72,7 +72,7 @@ def isrecursive(object): class _safe_key: """Helper function for key functions when sorting unorderable objects. - The wrapped-object will fallback to an Py2.x style comparison for + The wrapped-object will fallback to a Py2.x style comparison for unorderable types (sorting first comparing the type name and then by the obj ids). Does not work recursively, so dict.items() must have _safe_key applied to both the key and the value. |