Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
34.8k
Star
73.4k
Code
Issues
5k+
Pull requests
2.3k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
pprint.py
on
3.10
User selector
All users
All time
Commit history
Commits on Oct 21, 2021
bpo-45557: Fix underscore_numbers in pprint.pprint(). (GH-29129)
Show description for 6b75ad5
miss-islington
and
ericvsmith
authored
6b75ad5
Copy full SHA for 6b75ad5
Commits on Apr 13, 2021
bpo-43080: pprint for dataclass instances (GH-24389)
Show description for 11159d2
LewisGaul
authored
11159d2
Copy full SHA for 11159d2
Commits on Mar 24, 2021
bpo-42914: add a pprint underscore_numbers option (GH-24864)
Show description for 3ba3d51
sblondon
authored
3ba3d51
Copy full SHA for 3ba3d51
Commits on Nov 23, 2020
bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small containers (GH-22120)
iritkatriel
authored
ff420f0
Copy full SHA for ff420f0
Commits on Aug 30, 2020
bpo-39994: Fix pprint handling of dict subclasses that override __repr__ (GH-21892)
Show description for 582f137
iritkatriel
authored
582f137
Copy full SHA for 582f137
Commits on Jun 26, 2019
bpo-37376: pprint support for SimpleNamespace (GH-14318)
Show description for 06a8916
carlbordum
authored and
miss-islington
committed
06a8916
Copy full SHA for 06a8916
Commits on Mar 22, 2019
bpo-30670: Add pp function to the pprint module (GH-11769)
Rémi Lapeyre
authored and
rhettinger
committed
96831c7
Copy full SHA for 96831c7
Commits on Dec 17, 2018
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
Show description for 8db5b54
vstinner
authored
8db5b54
Copy full SHA for 8db5b54
Commits on Apr 17, 2016
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
serhiy-storchaka
committed
6a7b3a7
Copy full SHA for 6a7b3a7
Commits on May 16, 2015
Issue #18682: Optimized pprint functions for builtin scalar types.
serhiy-storchaka
committed
8eb1f07
Copy full SHA for 8eb1f07
Commits on May 12, 2015
Issue #23870: The pprint module now supports all standard collections
Show description for bedbf96
serhiy-storchaka
committed
bedbf96
Copy full SHA for bedbf96
Commits on Apr 6, 2015
Issue #22721: An order of multiline pprint output of set or dict containing
Show description for 62aa7dc
serhiy-storchaka
committed
62aa7dc
Copy full SHA for 62aa7dc
Commits on Mar 26, 2015
Issue #23775: pprint() of OrderedDict now outputs the same representation
Show description for aa4c36f
serhiy-storchaka
committed
aa4c36f
Copy full SHA for aa4c36f
Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.
serhiy-storchaka
committed
f3fa308
Copy full SHA for f3fa308
Commits on Mar 24, 2015
Issue #23502: The pprint module now supports mapping proxies.
Show description for 87eb482
serhiy-storchaka
committed
87eb482
Copy full SHA for 87eb482
Issue #17530: pprint now wraps long bytes objects and bytearrays.
serhiy-storchaka
committed
022f203
Copy full SHA for 022f203
Issue #23741: Slightly refactor the pprint module to make it a little more
Show description for 8e2aa88
serhiy-storchaka
committed
8e2aa88
Copy full SHA for 8e2aa88
Commits on Feb 14, 2015
Issue #19105: pprint now more efficiently uses free space at the right.
serhiy-storchaka
committed
a750ce3
Copy full SHA for a750ce3
Commits on Dec 20, 2014
Issue #19104: pprint now produces evaluable output for wrapped strings.
serhiy-storchaka
committed
fe3dc37
Copy full SHA for fe3dc37
Commits on Oct 3, 2013
Remove builtin "caching" in pprint
pitrou
committed
7d36e2f
Copy full SHA for 7d36e2f
Commits on Oct 2, 2013
Use cached builtins.
serhiy-storchaka
committed
57d5c08
Copy full SHA for 57d5c08
Issue #19132: The pprint module now supports compact mode.
serhiy-storchaka
committed
7c411a4
Copy full SHA for 7c411a4
Issue #19137: The pprint module now correctly formats instances of set and
Show description for 092bd38
serhiy-storchaka
committed
092bd38
Copy full SHA for 092bd38
Issue #19137: The pprint module now correctly formats instances of set and
Show description for 5184438
serhiy-storchaka
committed
5184438
Copy full SHA for 5184438
Commits on Mar 23, 2013
Issue #17150: pprint now uses line continuations to wrap long string literals.
pitrou
committed
64c16c3
Copy full SHA for 64c16c3
Commits on Jul 21, 2012
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.
florentx
committed
d6da90f
Copy full SHA for d6da90f
Commits on Sep 9, 2010
Have pprint() respect the order in an OrderedDict.
rhettinger
committed
bad3c88
Copy full SHA for bad3c88
Commits on Nov 19, 2009
Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types.
rhettinger
committed
a7da166
Copy full SHA for a7da166
Commits on May 16, 2008
Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from
Show description for eca20b6
avassalotti
committed
eca20b6
Copy full SHA for eca20b6
Commits on Jan 31, 2008
Update pprint() to match the new repr style for frozensets
rhettinger
committed
4b8db41
Copy full SHA for 4b8db41
Commits on Jan 25, 2008
Merged revisions 60245-60277 via svnmerge from
Show description for 969fe57
tiran
committed
969fe57
Copy full SHA for 969fe57
Commits on Jan 23, 2008
Merged revisions 60176-60209 via svnmerge from
Show description for 1af737c
tiran
committed
1af737c
Copy full SHA for 1af737c
Commits on Aug 9, 2007
SF patch# 1770008 by Christian Heimes (plus some extras).
Show description for 34d1928
gvanrossum
committed
34d1928
Copy full SHA for 34d1928
Commits on May 15, 2007
Merged revisions 55328-55341 via svnmerge from
Show description for 1bc535d
gvanrossum
committed
1bc535d
Copy full SHA for 1bc535d
Commits on May 9, 2007
Don't insist on cStringIO.
gvanrossum
committed
7fe7d1a
Copy full SHA for 7fe7d1a
Previous
Next
You can’t perform that action at this time.