diff options
-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. |