From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 30 Jul 2021 14:16:46 +0000 (-0700) Subject: Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479) X-Git-Tag: v3.10.0rc1~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ca35f2891a4d88503dbb3143db21a0ff258915b;p=thirdparty%2FPython%2Fcpython.git Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479) (cherry picked from commit f4367ba3c533fc2dc9e32aa431d674f715b911f2) Co-authored-by: Ori Avtalion --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 8cccdc0d6224..e8d7c9ee01bd 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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)