From f4367ba3c533fc2dc9e32aa431d674f715b911f2 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Fri, 30 Jul 2021 16:55:09 +0300 Subject: Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) --- Doc/library/typing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 8cccdc0..e8d7c9e 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) -- cgit v0.12