]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 30 Jul 2021 14:16:46 +0000 (07:16 -0700)
committerGitHub <noreply@github.com>
Fri, 30 Jul 2021 14:16:46 +0000 (16:16 +0200)
(cherry picked from commit f4367ba3c533fc2dc9e32aa431d674f715b911f2)

Co-authored-by: Ori Avtalion <ori@avtalion.name>
Doc/library/typing.rst

index 8cccdc0d62246be505aebf59a77c544f0f8dc8cd..e8d7c9ee01bd1f53411b310cc5768917f6dd9702 100644 (file)
@@ -150,7 +150,7 @@ See :pep:`484` for more details.
 
 .. versionadded:: 3.5.2
 
-.. versionchanged:: 3.10.0
+.. versionchanged:: 3.10
    ``NewType`` is now a class rather than a function.  There is some additional
    runtime cost when calling ``NewType`` over a regular function.  However, this
    cost will be reduced in 3.11.0.
@@ -1323,7 +1323,7 @@ These are not used in annotations. They are building blocks for declaring types.
 
    .. versionadded:: 3.5.2
 
-   .. versionchanged:: 3.10.0
+   .. versionchanged:: 3.10
       ``NewType`` is now a class rather than a function.
 
 .. class:: TypedDict(dict)