diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-04-05 00:43:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 00:43:20 +0300 |
commit | 6fed3c85402c5ca704eb3f3189ca3f5c67a08d19 (patch) | |
tree | 756d989deaee347ca211d42abf124d1817ef8ff3 /Doc/whatsnew | |
parent | 1b21573a89632356737a24302dd64c9eb1457a7b (diff) | |
download | cpython-git-6fed3c85402c5ca704eb3f3189ca3f5c67a08d19.tar.gz |
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.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index fc48cd67ed..ef499f5046 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 ===================== |