Some updates now typing.Container is defined.

This commit is contained in:
Guido van Rossum committed 2016-01-06 16:38:14 -08:00
1 parent 9aabb149e3
commit 0f21b59a30
2 files changed
+2 -7

No files matched your search

-2
View File
@@ -46,8 +46,6 @@ _KT_co = TypeVar('_KT_co', covariant=True) # Key type covariant containers.
_VT_co = TypeVar('_VT_co', covariant=True) # Value type covariant containers.
_T_contra = TypeVar('_T_contra', contravariant=True) # Ditto contravariant.
# TODO Container etc.
class SupportsInt(metaclass=ABCMeta):
@abstractmethod
def __int__(self) -> int: ...