mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 16:48:27 +08:00
Fixing flake8 E121, E122, E123, E124, E125, E126 errors
This commit is contained in:
@@ -20,8 +20,9 @@ def reduce(function: Callable[[_T, _T], _T],
|
||||
|
||||
|
||||
class CacheInfo(NamedTuple('CacheInfo', [
|
||||
('hits', int), ('misses', int), ('maxsize', int), ('currsize', int)])):
|
||||
pass
|
||||
('hits', int), ('misses', int), ('maxsize', int), ('currsize', int)])
|
||||
):
|
||||
...
|
||||
|
||||
class _lru_cache_wrapper(Generic[_T]):
|
||||
__wrapped__ = ... # type: Callable[..., _T]
|
||||
@@ -29,8 +30,7 @@ class _lru_cache_wrapper(Generic[_T]):
|
||||
def cache_info(self) -> CacheInfo: ...
|
||||
|
||||
class lru_cache():
|
||||
def __init__(self, maxsize: Optional[int] = ..., typed: bool = ...) -> None:
|
||||
pass
|
||||
def __init__(self, maxsize: Optional[int] = ..., typed: bool = ...) -> None: ...
|
||||
def __call__(self, f: Callable[..., _T]) -> _lru_cache_wrapper[_T]: ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user