Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 18 Feb 2013 09:14:04 +0000 (11:14 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 18 Feb 2013 09:14:04 +0000 (11:14 +0200)
Lib/sre_constants.py

index 4be57f50b9b84df64c532f629e4fba51ea525f4f..b0175e71be6597717244555654e3a9268bb6b439 100644 (file)
@@ -15,6 +15,8 @@
 
 MAGIC = 20031017
 
+from _sre import MAXREPEAT
+
 # SRE standard exception (access as sre.error)
 # should this really be here?