mirror of https://github.com/python/cpython.git
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
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue