diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index dc5696aff69bd4..c6f709158cc2f8 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2096,7 +2096,7 @@ Corresponding to collections in :mod:`collections.abc` :class:`collections.abc.Container` now supports ``[]``. See :pep:`585` and :ref:`types-genericalias`. -.. class:: ItemsView(MappingView, Generic[KT_co, VT_co]) +.. class:: ItemsView(MappingView, AbstractSet[tuple[KT_co, VT_co]]) A generic version of :class:`collections.abc.ItemsView`. @@ -2104,7 +2104,7 @@ Corresponding to collections in :mod:`collections.abc` :class:`collections.abc.ItemsView` now supports ``[]``. See :pep:`585` and :ref:`types-genericalias`. -.. class:: KeysView(MappingView[KT_co], AbstractSet[KT_co]) +.. class:: KeysView(MappingView, AbstractSet[KT_co]) A generic version of :class:`collections.abc.KeysView`. @@ -2124,7 +2124,7 @@ Corresponding to collections in :mod:`collections.abc` :class:`collections.abc.Mapping` now supports ``[]``. See :pep:`585` and :ref:`types-genericalias`. -.. class:: MappingView(Sized, Iterable[T_co]) +.. class:: MappingView(Sized) A generic version of :class:`collections.abc.MappingView`. @@ -2164,7 +2164,7 @@ Corresponding to collections in :mod:`collections.abc` :class:`collections.abc.Sequence` now supports ``[]``. See :pep:`585` and :ref:`types-genericalias`. -.. class:: ValuesView(MappingView[VT_co]) +.. class:: ValuesView(MappingView, Collection[_VT_co]) A generic version of :class:`collections.abc.ValuesView`. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy