Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up small typo #309

Merged
merged 1 commit into from Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/yaml/scanner.py
Expand Up @@ -332,7 +332,7 @@ def unwind_indent(self, column):
## }
#if self.flow_level and self.indent > column:
# raise ScannerError(None, None,
# "invalid intendation or unclosed '[' or '{'",
# "invalid indentation or unclosed '[' or '{'",
# self.get_mark())

# In the flow context, indentation is ignored. We make the scanner less
Expand Down Expand Up @@ -370,7 +370,7 @@ def fetch_stream_start(self):

def fetch_stream_end(self):

# Set the current intendation to -1.
# Set the current indentation to -1.
self.unwind_indent(-1)

# Reset simple keys.
Expand All @@ -389,7 +389,7 @@ def fetch_stream_end(self):

def fetch_directive(self):

# Set the current intendation to -1.
# Set the current indentation to -1.
self.unwind_indent(-1)

# Reset simple keys.
Expand All @@ -407,7 +407,7 @@ def fetch_document_end(self):

def fetch_document_indicator(self, TokenClass):

# Set the current intendation to -1.
# Set the current indentation to -1.
self.unwind_indent(-1)

# Reset simple keys. Note that there could not be a block collection
Expand Down
8 changes: 4 additions & 4 deletions lib3/yaml/scanner.py
Expand Up @@ -332,7 +332,7 @@ def unwind_indent(self, column):
## }
#if self.flow_level and self.indent > column:
# raise ScannerError(None, None,
# "invalid intendation or unclosed '[' or '{'",
# "invalid indentation or unclosed '[' or '{'",
# self.get_mark())

# In the flow context, indentation is ignored. We make the scanner less
Expand Down Expand Up @@ -370,7 +370,7 @@ def fetch_stream_start(self):

def fetch_stream_end(self):

# Set the current intendation to -1.
# Set the current indentation to -1.
self.unwind_indent(-1)

# Reset simple keys.
Expand All @@ -389,7 +389,7 @@ def fetch_stream_end(self):

def fetch_directive(self):

# Set the current intendation to -1.
# Set the current indentation to -1.
self.unwind_indent(-1)

# Reset simple keys.
Expand All @@ -407,7 +407,7 @@ def fetch_document_end(self):

def fetch_document_indicator(self, TokenClass):

# Set the current intendation to -1.
# Set the current indentation to -1.
self.unwind_indent(-1)

# Reset simple keys. Note that there could not be a block collection
Expand Down