mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add collections.Container to Python 2/3 (#608)
This commit is contained in:
committed by
Guido van Rossum
parent
0b04c44710
commit
5624e7fd4b
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user