Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2057,7 +2057,7 @@ Abstract Base Classes
Corresponding to collections in :mod:`collections.abc`
""""""""""""""""""""""""""""""""""""""""""""""""""""""

.. class:: AbstractSet(Sized, Collection[T_co])
.. class:: AbstractSet(Collection[T_co])

A generic version of :class:`collections.abc.Set`.

Expand Down Expand Up @@ -2113,7 +2113,7 @@ Corresponding to collections in :mod:`collections.abc`
:class:`collections.abc.KeysView` now supports subscripting (``[]``).
See :pep:`585` and :ref:`types-genericalias`.

.. class:: Mapping(Sized, Collection[KT], Generic[VT_co])
.. class:: Mapping(Collection[KT], Generic[KT, VT_co])

A generic version of :class:`collections.abc.Mapping`.
This type can be used as follows::
Expand Down