summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-18 11:14:21 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-18 11:14:21 +0200
commite9c0a8af22b8e533ec414336a52a0c7ac0f63ff6 (patch)
treeb745b77ad3eed44dbb4e8456933a11ff11e3de18 /Lib/sre_constants.py
parent57933de71178ad76d34533032d2c7badd42638cb (diff)
downloadcpython-e9c0a8af22b8e533ec414336a52a0c7ac0f63ff6.tar.gz
Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index 71ccb23f62..5898d5411a 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -15,6 +15,8 @@
MAGIC = 20031017
+from _sre import MAXREPEAT
+
# SRE standard exception (access as sre.error)
# should this really be here?