Add collections.Container to Python 2/3 (#608)

This commit is contained in:
Reiner Gerecke
2016-10-15 11:16:02 -04:00
committed by Guido van Rossum
parent 0b04c44710
commit 5624e7fd4b
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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,