summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-04-04 21:43:20 (GMT)
committerGitHub <noreply@github.com>2020-04-04 21:43:20 (GMT)
commit6fed3c85402c5ca704eb3f3189ca3f5c67a08d19 (patch)
tree756d989deaee347ca211d42abf124d1817ef8ff3 /Doc/whatsnew
parent1b21573a89632356737a24302dd64c9eb1457a7b (diff)
downloadcpython-6fed3c85402c5ca704eb3f3189ca3f5c67a08d19.zip
cpython-6fed3c85402c5ca704eb3f3189ca3f5c67a08d19.tar.gz
cpython-6fed3c85402c5ca704eb3f3189ca3f5c67a08d19.tar.bz2
bpo-40182: Remove the _field_types attribute of the NamedTuple class (GH-19368)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index fc48cd6..ef499f5 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -734,6 +734,11 @@ Removed
defining ``COUNT_ALLOCS`` macro.
(Contributed by Victor Stinner in :issue:`39489`.)
+* The ``_field_types`` attribute of the :class:`typing.NamedTuple` class
+ has been removed. It was deprecated deprecated since Python 3.8. Use
+ the ``__annotations__`` attribute instead.
+ (Contributed by Serhiy Storchaka in :issue:`40182`.)
+
Porting to Python 3.9
=====================