##// 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:

r27747:f5d4e0ac
r28232:396593e7 merge
Show More
log.py
5 lines | 123 B | text/x-python | PythonLexer
Min RK
shim IPython.utils.log
r21083 from warnings import warn
Srinivas Reddy Thatiparthy
Add stacklevel=2 to warn function
r23033 warn("IPython.utils.log has moved to traitlets.log", stacklevel=2)
Min RK
shim IPython.utils.log
r21083
from traitlets.log import *