From 5624e7fd4bcde2b28a4822ede52c98ce220a249c Mon Sep 17 00:00:00 2001 From: Reiner Gerecke Date: Sat, 15 Oct 2016 11:16:02 -0400 Subject: [PATCH] Add collections.Container to Python 2/3 (#608) --- stdlib/2.7/collections.pyi | 3 ++- stdlib/3/collections/__init__.pyi | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stdlib/2.7/collections.pyi b/stdlib/2.7/collections.pyi index 4d004fda7..398d753ce 100644 --- a/stdlib/2.7/collections.pyi +++ b/stdlib/2.7/collections.pyi @@ -8,7 +8,8 @@ from typing import ( Any, Dict, Generic, TypeVar, Iterable, Tuple, Callable, Mapping, overload, Iterator, Type, - Sized, Optional, List, Set, Sequence, Union, Reversible, MutableMapping, MutableSequence + Sized, Optional, List, Set, Sequence, Union, Reversible, MutableMapping, MutableSequence, + Container ) import typing diff --git a/stdlib/3/collections/__init__.pyi b/stdlib/3/collections/__init__.pyi index f93990b62..29b232ee8 100644 --- a/stdlib/3/collections/__init__.pyi +++ b/stdlib/3/collections/__init__.pyi @@ -13,6 +13,7 @@ from typing import ( # These are exported. # TODO reexport more. from typing import ( + Container as Container, MutableMapping as MutableMapping, Sequence as Sequence, MutableSequence as MutableSequence,