Skip to content

Commit

Permalink
Fix up small typo
Browse files Browse the repository at this point in the history
Replace `intendation` with `indentation`.
  • Loading branch information
timgates42 authored and perlpunk committed Dec 3, 2019
1 parent e21af4a commit eb459f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/yaml/scanner.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit eb459f8

Please sign in to comment.