Skip to content

Backport of pprint from Python 3.9 to Python 3.6-3.8

License

Notifications You must be signed in to change notification settings

domdfcoding/pprint36

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pprint-36

Backport of pprint from Python 3.9 to Python 3.6-3.8

See the Python documentation for examples and usage information.

The pertinent changes from Python 3.6 to Python 3.9 are:

  • pprint can now pretty-print types.SimpleNamespace. Contributed by Carl Bordum Hansenin Python 3.9.
  • pprint.pp has been added to pretty-print objects with dictionary keys being sorted with their insertion order by default. Parameter sort_dicts has been added to pprint.pprint, pprint.pformat and pprint.PrettyPrinter. Contributed by Rémi Lapeyre in Python 3.8.
Tests Travis Build Status Windows Tests Status macOS Tests Status Coverage CodeFactor Grade
PyPI PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel
Activity GitHub last commit GitHub commits since tagged version Maintenance
Other License GitHub top language Requirements Status pre-commit

Installation

pprint36 can be installed from PyPI.

To install with pip:

$ python -m pip install pprint36

About

Backport of pprint from Python 3.9 to Python 3.6-3.8

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •