diff options
author | Ori Avtalion <ori@avtalion.name> | 2021-07-30 13:55:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 13:55:09 (GMT) |
commit | f4367ba3c533fc2dc9e32aa431d674f715b911f2 (patch) | |
tree | b2704bcc318e21f0f880f370bd97f534ab7aae61 /Doc/library/typing.rst | |
parent | be42c06bb01206209430f3ac08b72643dc7cad1c (diff) | |
download | cpython-f4367ba3c533fc2dc9e32aa431d674f715b911f2.zip cpython-f4367ba3c533fc2dc9e32aa431d674f715b911f2.tar.gz cpython-f4367ba3c533fc2dc9e32aa431d674f715b911f2.tar.bz2 |
Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459)
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 4 |
1 files 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) |