summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/typing.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index a9ea4b9..73e96db 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -236,9 +236,13 @@ See :pep:`484` for more details.
.. versionadded:: 3.5.2
.. 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.
+ ``NewType`` is now a class rather than a function. As a result, there is
+ some additional runtime cost when calling ``NewType`` over a regular
+ function.
+
+.. versionchanged:: 3.11
+ The performance of calling ``NewType`` has been restored to its level in
+ Python 3.9.
Callable