summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.8.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.8.rst')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 31baccd..2e311ab 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -510,6 +510,10 @@ Deprecated
(Contributed by Berker Peksag in :issue:`9372`.)
+* The :class:`typing.NamedTuple` class has deprecated the ``_field_types``
+ attribute in favor of the ``__annotations__`` attribute which has the same
+ information. (Contributed by Raymond Hettinger in :issue:`36320`.)
+
* :mod:`ast` classes ``Num``, ``Str``, ``Bytes``, ``NameConstant`` and
``Ellipsis`` are considered deprecated and will be removed in future Python
versions. :class:`~ast.Constant` should be used instead.