mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-35341: Add generic version of OrderedDict to typing (GH-10850)
This commit is contained in:
parent
32bc11c33c
commit
68b56d02ef
4 changed files with 24 additions and 0 deletions
|
@ -689,6 +689,12 @@ The module defines the following classes, functions and decorators:
|
|||
|
||||
.. versionadded:: 3.5.2
|
||||
|
||||
.. class:: OrderedDict(collections.OrderedDict, MutableMapping[KT, VT])
|
||||
|
||||
A generic version of :class:`collections.OrderedDict`.
|
||||
|
||||
.. versionadded:: 3.7.2
|
||||
|
||||
.. class:: Counter(collections.Counter, Dict[T, int])
|
||||
|
||||
A generic version of :class:`collections.Counter`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue