diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-30 14:16:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 14:16:46 (GMT) |
commit | 6ca35f2891a4d88503dbb3143db21a0ff258915b (patch) | |
tree | e75520ff47315b13657a63967c1ed154e1824d47 /Doc/library | |
parent | 56122b0bba7a9e2e3ec672a6c22bfdd7ecf08cbe (diff) | |
download | cpython-6ca35f2891a4d88503dbb3143db21a0ff258915b.zip cpython-6ca35f2891a4d88503dbb3143db21a0ff258915b.tar.gz cpython-6ca35f2891a4d88503dbb3143db21a0ff258915b.tar.bz2 |
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 <ori@avtalion.name>
Diffstat (limited to 'Doc/library')
-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) |