From: Serhiy Storchaka Date: Sat, 4 Apr 2020 21:43:07 +0000 (+0300) Subject: bpo-36320: Use the deprecated-removed directive for _field_types (GH-19370) X-Git-Tag: v3.8.3rc1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d1d7c8bae3f9fe9e937d2931dcbbd3555d1a9f1;p=thirdparty%2FPython%2Fcpython.git bpo-36320: Use the deprecated-removed directive for _field_types (GH-19370) --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index beb00fc8b61c..7269e181c734 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -959,7 +959,7 @@ The module defines the following classes, functions and decorators: .. versionchanged:: 3.6.1 Added support for default values, methods, and docstrings. - .. versionchanged:: 3.8 + .. deprecated-removed:: 3.8 3.9 Deprecated the ``_field_types`` attribute in favor of the more standard ``__annotations__`` attribute which has the same information.