Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459)

This commit is contained in:
Ori Avtalion 2021-07-30 16:55:09 +03:00 committed by GitHub
parent be42c06bb0
commit f4367ba3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)