mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
yaml: add full_load and full_load_all stubs (#2892)
This commit is contained in:
committed by
Sebastian Rittau
parent
bce70d1ca6
commit
f7c00b8b33
2
third_party/2and3/yaml/__init__.pyi
vendored
2
third_party/2and3/yaml/__init__.pyi
vendored
@@ -17,6 +17,8 @@ def compose(stream, Loader=...): ...
|
||||
def compose_all(stream, Loader=...): ...
|
||||
def load(stream: Union[str, IO[str]], Loader=...) -> Any: ...
|
||||
def load_all(stream: Union[str, IO[str]], Loader=...) -> Iterator[Any]: ...
|
||||
def full_load(stream: Union[str, IO[str]]) -> Any: ...
|
||||
def full_load_all(stream: Union[str, IO[str]]) -> Iterator[Any]: ...
|
||||
def safe_load(stream: Union[str, IO[str]]) -> Any: ...
|
||||
def safe_load_all(stream: Union[str, IO[str]]) -> Iterator[Any]: ...
|
||||
def emit(events, stream=..., Dumper=..., canonical=..., indent=..., width=..., allow_unicode=..., line_break=...): ...
|
||||
|
||||
Reference in New Issue
Block a user