[Python-checkins] cpython (merge 3.2 -> 3.3): Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.

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


http://hg.python.org/cpython/rev/88c04657c9f1
changeset:   82245:88c04657c9f1
branch:      3.3
parent:      82241:8c7719b06ba6
parent:      82244:a6231ed7bff4
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Feb 18 11:18:33 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