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

@@ -13,9 +13,9 @@ class InputType(IO[str], Iterator[str]):
def closed(self) -> bool: ...
def flush(self) -> None: ...
def isatty(self) -> bool: ...
def read(self, size: int = -1) -> str: ...
def readline(self, size: int = -1) -> str: ...
def readlines(self, hint: int = -1) -> List[str]: ...
def read(self, size: int = ...) -> str: ...
def readline(self, size: int = ...) -> str: ...
def readlines(self, hint: int = ...) -> List[str]: ...
def seek(self, offset: int, whence: int = ...) -> None: ...
def tell(self) -> int: ...
def truncate(self, size: int = ...) -> Optional[int]: ...
@@ -32,9 +32,9 @@ class OutputType(IO[str], Iterator[str]):
def closed(self) -> bool: ...
def flush(self) -> None: ...
def isatty(self) -> bool: ...
def read(self, size: int = -1) -> str: ...
def readline(self, size: int = -1) -> str: ...
def readlines(self, hint: int = -1) -> List[str]: ...
def read(self, size: int = ...) -> str: ...
def readline(self, size: int = ...) -> str: ...
def readlines(self, hint: int = ...) -> List[str]: ...
def seek(self, offset: int, whence: int = ...) -> None: ...
def tell(self) -> int: ...
def truncate(self, size: int = ...) -> Optional[int]: ...