summaryrefslogtreecommitdiffstats
path: root/Lib/re/_constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/re/_constants.py')
-rw-r--r--Lib/re/_constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/re/_constants.py b/Lib/re/_constants.py
index c45ce40..71204d9 100644
--- a/Lib/re/_constants.py
+++ b/Lib/re/_constants.py
@@ -62,6 +62,8 @@ class _NamedIntConstant(int):
def __repr__(self):
return self.name
+ __reduce__ = None
+
MAXREPEAT = _NamedIntConstant(MAXREPEAT, 'MAXREPEAT')
def _makecodes(*names):