Fix some typos

This commit is contained in:
Veronica Berglyd Olsen
2023-11-18 14:14:10 +01:00
parent ab35d1a0bf
commit 17fc370609
8 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -216,7 +216,7 @@ class Tokenizer(ABC):
return
def setChapterFormat(self, hFormat: str) -> None:
"""Set the chapert format pattern."""
"""Set the chapter format pattern."""
self._fmtChapter = hFormat.strip()
return
@@ -435,8 +435,8 @@ class Tokenizer(ABC):
if aLine[0] == "[":
# Parse special formatting line
# This must be a separate if statement, as it may not
# reach a continue statement and must thefore proceed to
# check other formats.
# reach a continue statement and must therefore proceed
# to check other formats.
if sLine in ("[newpage]", "[new page]"):
breakNext = True