summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-18 09:14:04 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-18 09:14:04 (GMT)
commitfbc737eda1f6dbe78e4de4f15fd7127f6cb585d4 (patch)
tree2c2f00d8480cdc835b96f1a922487cfe95bafb2e /Lib
parent4f53550ca1d92fd9874e057d9608454c0daf25d9 (diff)
downloadcpython-fbc737eda1f6dbe78e4de4f15fd7127f6cb585d4.zip
cpython-fbc737eda1f6dbe78e4de4f15fd7127f6cb585d4.tar.gz
cpython-fbc737eda1f6dbe78e4de4f15fd7127f6cb585d4.tar.bz2
Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
Diffstat (limited to 'Lib')
-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 4be57f5..b0175e7 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?