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

r27960:3455b573
r28232:396593e7 merge
Show More
__main__.py
15 lines | 488 B | text/x-python | PythonLexer
# PYTHON_ARGCOMPLETE_OK
# encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython import start_ipython
start_ipython()