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

@@ -14,15 +14,15 @@ class Queue:
not_full = ... # type: Any
all_tasks_done = ... # type: Any
unfinished_tasks = ... # type: Any
def __init__(self, maxsize: int = 0) -> None: ...
def __init__(self, maxsize: int = ...) -> None: ...
def task_done(self) -> None: ...
def join(self) -> None: ...
def qsize(self) -> int: ...
def empty(self) -> bool: ...
def full(self) -> bool: ...
def put(self, item: Any, block: bool = ..., timeout: float = None) -> None: ...
def put(self, item: Any, block: bool = ..., timeout: float = ...) -> None: ...
def put_nowait(self, item) -> None: ...
def get(self, block: bool = ..., timeout: float = None) -> Any: ...
def get(self, block: bool = ..., timeout: float = ...) -> Any: ...
def get_nowait(self) -> Any: ...
class PriorityQueue(Queue): ...