mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479)
(cherry picked from commit f4367ba3c5
)
Co-authored-by: Ori Avtalion <ori@avtalion.name>
This commit is contained in:
parent
56122b0bba
commit
6ca35f2891
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ See :pep:`484` for more details.
|
||||||
|
|
||||||
.. versionadded:: 3.5.2
|
.. versionadded:: 3.5.2
|
||||||
|
|
||||||
.. versionchanged:: 3.10.0
|
.. versionchanged:: 3.10
|
||||||
``NewType`` is now a class rather than a function. There is some additional
|
``NewType`` is now a class rather than a function. There is some additional
|
||||||
runtime cost when calling ``NewType`` over a regular function. However, this
|
runtime cost when calling ``NewType`` over a regular function. However, this
|
||||||
cost will be reduced in 3.11.0.
|
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
|
.. versionadded:: 3.5.2
|
||||||
|
|
||||||
.. versionchanged:: 3.10.0
|
.. versionchanged:: 3.10
|
||||||
``NewType`` is now a class rather than a function.
|
``NewType`` is now a class rather than a function.
|
||||||
|
|
||||||
.. class:: TypedDict(dict)
|
.. class:: TypedDict(dict)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue