Jelle Zijlstra
2017-07-19 10:29:32 -07:00
committed by Łukasz Langa
parent 00ddb1c84a
commit be7490322b
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ class Counter(Dict[_T, int], Generic[_T]):
@overload
def __init__(self, iterable: Iterable[_T]) -> None: ...
def elements(self) -> Iterator[_T]: ...
def most_common(self, n: int = ...) -> List[_T]: ...
def most_common(self, n: Optional[int] = ...) -> List[Tuple[_T, int]]: ...
@overload
def subtract(self, __mapping: Mapping[_T, int]) -> None: ...
@overload

View File

@@ -125,7 +125,7 @@ class Counter(Dict[_T, int], Generic[_T]):
def elements(self) -> Iterator[_T]: ...
def most_common(self, n: int = ...) -> List[_T]: ...
def most_common(self, n: Optional[int] = ...) -> List[Tuple[_T, int]]: ...
@overload
def subtract(self, __mapping: Mapping[_T, int]) -> None: ...