Skip to content

Commit 24e0b82

Browse files
committed
Remove Collections backport
See latest comment in python/typing#443 for justification.
1 parent e4efc71 commit 24e0b82

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

third_party/2and3/typing_extensions.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ if sys.version_info >= (3, 5):
1616
if sys.version_info >= (3, 6):
1717
from typing import AsyncGenerator
1818

19-
if sys.version_info >= (3, 6):
20-
from typing import Collection
21-
else:
22-
_T_co = typing.TypeVar('_T_co', covariant=True)
23-
class Collection(typing.Sized,
24-
typing.Iterable[_T_co],
25-
typing.Container[_T_co],
26-
typing.Generic[_T_co]):
27-
...
28-
2919
# Return type that indicates a function does not return.
3020
# This type is equivalent to the None type, but the no-op Union is necessary to
3121
# distinguish the None type from the None value.

0 commit comments

Comments
 (0)