##// END OF EJS Templates
Added sorting on counter and passed all tests (#14032)...
Added sorting on counter and passed all tests (#14032) Creating a pull request to address changes requested in #13484 to update logic for printing Counter objects in terminal. This is now matching the standard Python console and pprint outputs which sort by default in a descending order. Additionally, I have added an additional test case to test_collections_counter in test_pretty.py to test for descending order:

File last commit:

r23033:5dd70876
r28232:396593e7 merge
Show More
jsonutil.py
5 lines | 148 B | text/x-python | PythonLexer
from warnings import warn
warn("IPython.utils.jsonutil has moved to jupyter_client.jsonutil", stacklevel=2)
from jupyter_client.jsonutil import *