summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Core and Builtins/2020-11-20-00-57-47.bpo-42195.HeqcpS.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/NEWS.d/next/Core and Builtins/2020-11-20-00-57-47.bpo-42195.HeqcpS.rst')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-11-20-00-57-47.bpo-42195.HeqcpS.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-11-20-00-57-47.bpo-42195.HeqcpS.rst b/Misc/NEWS.d/next/Core and Builtins/2020-11-20-00-57-47.bpo-42195.HeqcpS.rst
deleted file mode 100644
index 87e8c0e..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2020-11-20-00-57-47.bpo-42195.HeqcpS.rst
+++ /dev/null
@@ -1,10 +0,0 @@
-The ``__args__`` of the parameterized generics for :data:`typing.Callable`
-and :class:`collections.abc.Callable` are now consistent. The ``__args__``
-for :class:`collections.abc.Callable` are now flattened while
-:data:`typing.Callable`'s have not changed. To allow this change,
-:class:`types.GenericAlias` can now be subclassed and
-``collections.abc.Callable``'s ``__class_getitem__`` will now return a subclass
-of ``types.GenericAlias``. Tests for typing were also updated to not subclass
-things like ``Callable[..., T]`` as that is not a valid base class. Finally,
-both ``Callable``\ s no longer validate their ``argtypes``, in
-``Callable[[argtypes], resulttype]`` to prepare for :pep:`612`. Patch by Ken Jin.