diff options
author | Lewis Gaul <lewis.gaul@gmail.com> | 2021-04-13 23:59:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 23:59:24 (GMT) |
commit | 11159d2c9d6616497ef4cc62953a5c3cc8454afb (patch) | |
tree | 80c6de1f50ce31cbe76e4a6ab2398a95f8fb5c2f /Misc | |
parent | 695d47b51e3e197de5448a1eb2f618bef6d59ac8 (diff) | |
download | cpython-11159d2c9d6616497ef4cc62953a5c3cc8454afb.zip cpython-11159d2c9d6616497ef4cc62953a5c3cc8454afb.tar.gz cpython-11159d2c9d6616497ef4cc62953a5c3cc8454afb.tar.bz2 |
bpo-43080: pprint for dataclass instances (GH-24389)
* Added pprint support for dataclass instances which don't have a custom __repr__.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-01-31-00-23-13.bpo-43080.-fDg4Q.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-01-31-00-23-13.bpo-43080.-fDg4Q.rst b/Misc/NEWS.d/next/Library/2021-01-31-00-23-13.bpo-43080.-fDg4Q.rst new file mode 100644 index 0000000..aa59b90 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-01-31-00-23-13.bpo-43080.-fDg4Q.rst @@ -0,0 +1 @@ +:mod:`pprint` now has support for :class:`dataclasses.dataclass`. Patch by Lewis Gaul.
\ No newline at end of file |