From eb459f842f690f809b649726f0a317909a92a29c Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 24 Jun 2019 21:06:20 +1000 Subject: [PATCH] Fix up small typo Replace `intendation` with `indentation`. --- lib/yaml/scanner.py | 8 ++++---- lib3/yaml/scanner.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/yaml/scanner.py b/lib/yaml/scanner.py index 5126cf07..098ea7be 100644 --- a/lib/yaml/scanner.py +++ b/lib/yaml/scanner.py @@ -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 @@ -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. @@ -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. @@ -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 diff --git a/lib3/yaml/scanner.py b/lib3/yaml/scanner.py index 775dbcc6..7437ede1 100644 --- a/lib3/yaml/scanner.py +++ b/lib3/yaml/scanner.py @@ -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 @@ -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. @@ -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. @@ -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