diff options
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 58ae184..fa13c07 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -960,13 +960,14 @@ The module defines the following classes, functions and decorators: Added support for default values, methods, and docstrings. .. versionchanged:: 3.8 - Deprecated the ``_field_types`` attribute in favor of the more - standard ``__annotations__`` attribute which has the same information. - - .. versionchanged:: 3.8 The ``_field_types`` and ``__annotations__`` attributes are now regular dictionaries instead of instances of ``OrderedDict``. + .. versionchanged:: 3.9 + Removed the ``_field_types`` attribute in favor of the more + standard ``__annotations__`` attribute which has the same information. + + .. class:: TypedDict(dict) A simple typed namespace. At runtime it is equivalent to |