mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-01 12:56:51 +08:00
Fixing flake8 E401, E402 errors
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
# Stubs for mmap
|
||||
|
||||
from typing import (Optional, Sequence, Union, Generic, TypeVar, overload,
|
||||
Iterable, Container, Sized, Reversible)
|
||||
import sys
|
||||
from types import TracebackType
|
||||
from typing import (Optional, Sequence, Union, Generic, TypeVar, overload,
|
||||
Iterable, Container, Sized, Reversible, Type)
|
||||
|
||||
|
||||
_T = TypeVar('_T', str, bytes)
|
||||
|
||||
# TODO already in PEP, have to get added to mypy
|
||||
from typing import Type
|
||||
from types import TracebackType
|
||||
_C = TypeVar('_C')
|
||||
class _ContextManager(Generic[_C]):
|
||||
def __enter__(self) -> _C: ...
|
||||
|
||||
Reference in New Issue
Block a user