mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-23 15:30:46 +00:00
Fixed a typo in docstring.
This commit is contained in:
parent
fa14e18b38
commit
51fd5cbfdb
@ -43,7 +43,7 @@ def compose(stream, Loader=Loader):
|
||||
def compose_all(stream, Loader=Loader):
|
||||
"""
|
||||
Parse all YAML documents in a stream
|
||||
and produce corresponsing representation trees.
|
||||
and produce corresponding representation trees.
|
||||
"""
|
||||
loader = Loader(stream)
|
||||
while loader.check_node():
|
||||
|
@ -44,7 +44,7 @@ def compose(stream, Loader=Loader):
|
||||
def compose_all(stream, Loader=Loader):
|
||||
"""
|
||||
Parse all YAML documents in a stream
|
||||
and produce corresponsing representation trees.
|
||||
and produce corresponding representation trees.
|
||||
"""
|
||||
loader = Loader(stream)
|
||||
while loader.check_node():
|
||||
|
Loading…
Reference in New Issue
Block a user