]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-36320: Use the deprecated-removed directive for _field_types (GH-19370)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Apr 2020 21:43:07 +0000 (00:43 +0300)
committerGitHub <noreply@github.com>
Sat, 4 Apr 2020 21:43:07 +0000 (00:43 +0300)
Doc/library/typing.rst

index beb00fc8b61c232a94fdcd0b98f4130be3640322..7269e181c73497300390a17ce6acad3079e463a1 100644 (file)
@@ -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.