mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 22:56:55 +08:00
Fixing flake8 E261 errors
This commit is contained in:
@@ -18,19 +18,19 @@ class _ContextManager(Generic[_C]):
|
||||
exc_tb: Optional[TracebackType]) -> bool: ...
|
||||
|
||||
|
||||
ACCESS_READ = ... # type: int
|
||||
ACCESS_WRITE = ... # type: int
|
||||
ACCESS_COPY = ... # type: int
|
||||
ACCESS_READ = ... # type: int
|
||||
ACCESS_WRITE = ... # type: int
|
||||
ACCESS_COPY = ... # type: int
|
||||
|
||||
ALLOCATIONGRANULARITY = ... # type: int
|
||||
ALLOCATIONGRANULARITY = ... # type: int
|
||||
|
||||
if sys.platform != 'win32':
|
||||
MAP_PRIVATE = ... # type: int
|
||||
MAP_SHARED = ... # type: int
|
||||
PROT_READ = ... # type: int
|
||||
PROT_WRITE = ... # type: int
|
||||
MAP_PRIVATE = ... # type: int
|
||||
MAP_SHARED = ... # type: int
|
||||
PROT_READ = ... # type: int
|
||||
PROT_WRITE = ... # type: int
|
||||
|
||||
PAGESIZE = ... # type: int
|
||||
PAGESIZE = ... # type: int
|
||||
|
||||
class _mmap(Generic[_T]):
|
||||
if sys.platform == 'win32':
|
||||
@@ -61,7 +61,7 @@ class _mmap(Generic[_T]):
|
||||
if sys.version_info >= (3,):
|
||||
class mmap(_mmap, _ContextManager[mmap], Iterable[bytes], Container[bytes],
|
||||
Sized, Reversible[bytes]):
|
||||
closed = ... # type: bool
|
||||
closed = ... # type: bool
|
||||
def rfind(self, sub: bytes, start: int = ..., stop: int = ...) -> int: ...
|
||||
@overload
|
||||
def __getitem__(self, index: int) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user