Consistently use '= ...' for optional parameters.

This commit is contained in:
Matthias Kramm
2015-11-09 13:55:00 -08:00
parent 375bf063b1
commit 94c9ce8fd0
278 changed files with 2085 additions and 2085 deletions

View File

@@ -7,11 +7,11 @@ from typing import Any, TypeVar, Generic
_T = TypeVar('_T')
class Queue(Generic[_T]):
def __init__(self, maxsize: int = 0) -> None: ...
def __init__(self, maxsize: int = ...) -> None: ...
def full(self) -> bool: ...
def get(self, block: bool = True, timeout: float = None) -> _T: ...
def get(self, block: bool = ..., timeout: float = ...) -> _T: ...
def get_nowait(self) -> _T: ...
def put(self, item: _T, block: bool = True, timeout: float = None) -> None: ...
def put(self, item: _T, block: bool = ..., timeout: float = ...) -> None: ...
def put_nowait(self, item: _T) -> None: ...
def join(self) -> None: ...
def qsize(self) -> int: ...