summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorIsmo Toijala <ismo.toijala@gmail.com>2018-12-02 15:53:14 (GMT)
committerIvan Levkivskyi <levkivskyi@gmail.com>2018-12-02 15:53:14 (GMT)
commit68b56d02ef20479b87c65e523cf3dec1b7b77d40 (patch)
tree603411399ae708ad25ecba472c402837ae40ccdd /Doc
parent32bc11c33cf5ccea165b5f4ac3799f02fdf9c76a (diff)
downloadcpython-68b56d02ef20479b87c65e523cf3dec1b7b77d40.zip
cpython-68b56d02ef20479b87c65e523cf3dec1b7b77d40.tar.gz
cpython-68b56d02ef20479b87c65e523cf3dec1b7b77d40.tar.bz2
bpo-35341: Add generic version of OrderedDict to typing (GH-10850)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/typing.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 4469e88..47ae421 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -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`.