mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user