From: Ori Avtalion Date: Fri, 30 Jul 2021 13:55:09 +0000 (+0300) Subject: Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) X-Git-Tag: v3.11.0a1~514 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4367ba3c533fc2dc9e32aa431d674f715b911f2;p=thirdparty%2FPython%2Fcpython.git Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) --- 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)