summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmmar Askar <ammar@ammaraskar.com>2020-04-15 06:36:08 (GMT)
committerGitHub <noreply@github.com>2020-04-15 06:36:08 (GMT)
commita86b522d8f1c8b9c26b5550de221d2227158cf4d (patch)
tree58a8be3453359c4847834d7ed8f6409eb129a96a /Misc
parent4f98f465f14e7258c5b18a62c5aa114dbe1174d8 (diff)
downloadcpython-a86b522d8f1c8b9c26b5550de221d2227158cf4d.zip
cpython-a86b522d8f1c8b9c26b5550de221d2227158cf4d.tar.gz
cpython-a86b522d8f1c8b9c26b5550de221d2227158cf4d.tar.bz2
bpo-40277: Add a repr() to namedtuple's _tuplegetter to aid with introspection (GH-19537)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-04-14-21-53-18.bpo-40277.NknSaf.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-14-21-53-18.bpo-40277.NknSaf.rst b/Misc/NEWS.d/next/Library/2020-04-14-21-53-18.bpo-40277.NknSaf.rst
new file mode 100644
index 0000000..1fa2999
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-04-14-21-53-18.bpo-40277.NknSaf.rst
@@ -0,0 +1,2 @@
+:func:`collections.namedtuple` now provides a human-readable repr for its
+field accessors.