[Python-checkins] cpython (2.7): Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.

serhiy.storchaka python-checkins at python.org
Mon Feb 18 10:30:44 CET 2013


http://hg.python.org/cpython/rev/a80ea934da9a
changeset:   82243:a80ea934da9a
branch:      2.7
parent:      82231:23393309d7a6
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Feb 18 11:14:04 2013 +0200
summary:
  Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.

files:
  Lib/sre_constants.py |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
--- 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?
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list