diff options
author | ptmcg <ptmcg@austin.rr.com> | 2020-08-16 22:16:56 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2020-08-16 22:16:56 -0500 |
commit | 1a2920dc1ac5b9d90401e53471838d6892c27c59 (patch) | |
tree | 402d883de089389b677a109275cbc8ac12c93ae4 | |
parent | a49e56932a851f63859adf8735dcdd993e16657c (diff) | |
download | pyparsing-git-1a2920dc1ac5b9d90401e53471838d6892c27c59.tar.gz |
Follow-up to PR #233
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | pyparsing/core.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -17,6 +17,10 @@ Version 3.0.0b1 Word(nums, max=3) -> "W:(0-9){1,3}" Word(nums, min=2, max=3) -> "W:(0-9){2,3}" +- Removed copy() override in Keyword class which did not preserve definition + of ident chars from the original expression. PR #233 submitted by jgrey4296, + thanks! + Version 3.0.0a2 - June, 2020 ---------------------------- diff --git a/pyparsing/core.py b/pyparsing/core.py index 608d607..3bcd6cb 100644 --- a/pyparsing/core.py +++ b/pyparsing/core.py @@ -1990,10 +1990,6 @@ class Keyword(Token): raise ParseException(instring, errloc, errmsg, self) - def copy(self): - c = super().copy() - return c - @staticmethod def setDefaultKeywordChars(chars): """Overrides the default characters used by :class:`Keyword` expressions. |