From 93e57bbeb2cae3f6f1a3f193f8779cbc3568df3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nyffenegger?= Date: Thu, 12 Sep 2024 14:20:04 +0200 Subject: [PATCH] Fix two typos --- parser/state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/state.py b/parser/state.py index 262f879..ca0e359 100644 --- a/parser/state.py +++ b/parser/state.py @@ -115,7 +115,7 @@ def visit(self): def dotatend(self): ''' - checks if we reachs the end if the rule + checks if we reached the end if the rule ''' if self._closure == len(self.rhs): return True @@ -130,5 +130,5 @@ def movedot(self): return Rule(self.lhs, self.rhs, self._closure + 1) def copy(self): - '''ignore colsure and visited attributes''' + '''ignore closure and visited attributes''' return Rule(self.lhs,self.rhs)