bundles / IPython 9.3.0 / IPython / lib / pretty / _sorted_for_pprint
function
IPython.lib.pretty:_sorted_for_pprint
source: /IPython/lib/pretty.py :130
Signature
def _sorted_for_pprint ( items ) Summary
Sort the given items for pretty printing. Since some predictable sorting is better than no sorting at all, we sort on the string representation if normal sorting fails.
Aliases
-
IPython.lib.pretty._sorted_for_pprint