Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jul 29, 2018
1 parent f4d4223 commit 9a909dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions textparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,6 @@ class Optional(Pattern):
def __init__(self, pattern):
self._pattern = _wrap_string(pattern)

@property
def pattern(self):
return self._pattern

def match(self, tokens):
tokens.save()
mo = self._pattern.match(tokens)
Expand Down

0 comments on commit 9a909dd

Please sign in to comment.