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

@@ -4,9 +4,9 @@
from typing import Any, IO
def dumps(obj: Any, protocol: int = None, *,
fix_imports: bool = True) -> bytes: ...
def loads(p: bytes, *, fix_imports: bool = True,
encoding: str = 'ASCII', errors: str = 'strict') -> Any: ...
def load(file: IO[bytes], *, fix_imports: bool = True, encoding: str = 'ASCII',
errors: str = 'strict') -> Any: ...
def dumps(obj: Any, protocol: int = ..., *,
fix_imports: bool = ...) -> bytes: ...
def loads(p: bytes, *, fix_imports: bool = ...,
encoding: str = ..., errors: str = ...) -> Any: ...
def load(file: IO[bytes], *, fix_imports: bool = ..., encoding: str = ...,
errors: str = ...) -> Any: ...