From 13b1cdc83434bc555263308bdafb2511b2a7be23 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Wed, 9 Nov 2016 14:37:33 +0900 Subject: [PATCH] Stubs for collections.abc (#671) The ABC types were moved to collections.abc in 3.3 (but still exist in collections too). --- stdlib/3/collections/abc.pyi | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 stdlib/3/collections/abc.pyi diff --git a/stdlib/3/collections/abc.pyi b/stdlib/3/collections/abc.pyi new file mode 100644 index 000000000..0eb18b4bd --- /dev/null +++ b/stdlib/3/collections/abc.pyi @@ -0,0 +1,13 @@ +# Stubs for collections.abc (introduced from Python 3.3) +# +# https://docs.python.org/3.3/whatsnew/3.3.html#collections +import sys + +if sys.version_info >= (3, 3): + from . import ( + Container as Container, + MutableMapping as MutableMapping, + Sequence as Sequence, + MutableSequence as MutableSequence, + Set as Set, + )