]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43080: pprint for dataclass instances (GH-24389)
authorLewis Gaul <lewis.gaul@gmail.com>
Tue, 13 Apr 2021 23:59:24 +0000 (00:59 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Apr 2021 23:59:24 +0000 (19:59 -0400)
commit11159d2c9d6616497ef4cc62953a5c3cc8454afb
tree80c6de1f50ce31cbe76e4a6ab2398a95f8fb5c2f
parent695d47b51e3e197de5448a1eb2f618bef6d59ac8
bpo-43080: pprint for dataclass instances (GH-24389)

* Added pprint support for dataclass instances which don't have a custom __repr__.
Doc/library/pprint.rst
Doc/whatsnew/3.10.rst
Lib/pprint.py
Lib/test/test_pprint.py
Misc/NEWS.d/next/Library/2021-01-31-00-23-13.bpo-43080.-fDg4Q.rst [new file with mode: 0644]