author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 23 Nov 2016 12:34:51 +0200 | |
changeset 694 | 4457721a1a13 |
parent 693 | 7c50e19cd04f |
child 695 | 45e971e7a5f4 |
--- a/py/gadict_spellcheck.py Wed Nov 23 12:29:45 2016 +0200 +++ b/py/gadict_spellcheck.py Wed Nov 23 12:34:51 2016 +0200 @@ -38,7 +38,7 @@ self.lineno += 1 return line - def _check_body(self): + def _check(self): while True: line = self._readline() m = self.SEPARATOR_RE.match(line) @@ -66,7 +66,7 @@ def check(self): try: - self._check_body() + self._check() except EofReached: pass