Fix abstract classes in 2.7 (#2247)

Part of #1476.
This commit is contained in:
Jelle Zijlstra
2018-06-17 09:21:17 -07:00
committed by Ivan Levkivskyi
parent 6b36b1befe
commit 8084dc1c1f
6 changed files with 55 additions and 34 deletions

View File

@@ -75,6 +75,11 @@ X_OK: int
class _Environ(MutableMapping[AnyStr, AnyStr], Generic[AnyStr]):
def copy(self) -> Dict[AnyStr, AnyStr]: ...
def __delitem__(self, key: AnyStr) -> None: ...
def __getitem__(self, key: AnyStr) -> AnyStr: ...
def __setitem__(self, key: AnyStr, value: AnyStr) -> None: ...
def __iter__(self) -> Iterator[AnyStr]: ...
def __len__(self) -> int: ...
environ: _Environ[str]
if sys.version_info >= (3, 2):