mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Fix typo
This commit is contained in:
parent
3b06fd012a
commit
bf0297c0a4
@ -15,7 +15,7 @@ def parse_yaml(string):
|
|||||||
|
|
||||||
# dedent truncates only-whitespace lines,
|
# dedent truncates only-whitespace lines,
|
||||||
# so run it against a transformed string
|
# so run it against a transformed string
|
||||||
# in which every line is terminated by a dot
|
# in which every line is terminated by a tilde
|
||||||
terminated = endOfLine.sub(r'\1~', match.group(1))
|
terminated = endOfLine.sub(r'\1~', match.group(1))
|
||||||
dedented_terminated = textwrap.dedent(terminated)
|
dedented_terminated = textwrap.dedent(terminated)
|
||||||
dedented = endOfLine.sub('', dedented_terminated)
|
dedented = endOfLine.sub('', dedented_terminated)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user