mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
committed by
Sebastian Rittau
parent
25c5f3cace
commit
03981de076
4
third_party/2and3/yaml/__init__.pyi
vendored
4
third_party/2and3/yaml/__init__.pyi
vendored
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Iterator, Sequence, Union, IO
|
||||
from typing import Optional, Any, Iterator, Sequence, Union, IO
|
||||
from yaml.error import * # noqa: F403
|
||||
from yaml.tokens import * # noqa: F403
|
||||
from yaml.events import * # noqa: F403
|
||||
@@ -23,7 +23,7 @@ def emit(events, stream=..., Dumper=..., canonical=..., indent=..., width=..., a
|
||||
def serialize_all(nodes, stream=..., Dumper=..., canonical=..., indent=..., width=..., allow_unicode=..., line_break=..., encoding=..., explicit_start=..., explicit_end=..., version=..., tags=...): ...
|
||||
def serialize(node, stream=..., Dumper=..., **kwds): ...
|
||||
def dump_all(documents: Sequence[Any], stream: IO[str] = ..., Dumper=..., default_style=..., default_flow_style=..., canonical=..., indent=..., width=..., allow_unicode=..., line_break=..., encoding=..., explicit_start=..., explicit_end=..., version=..., tags=...) -> Any: ...
|
||||
def dump(data: Any, stream: IO[str] = ..., Dumper=..., **kwds) -> Any: ...
|
||||
def dump(data: Any, stream: Optional[IO[str]] = ..., Dumper=..., **kwds) -> Any: ...
|
||||
def safe_dump_all(documents: Sequence[Any], stream: IO[str] = ..., **kwds) -> Any: ...
|
||||
def safe_dump(data: Any, stream: IO[str] = ..., **kwds) -> Any: ...
|
||||
def add_implicit_resolver(tag, regexp, first=..., Loader=..., Dumper=...): ...
|
||||
|
||||
Reference in New Issue
Block a user