summaryrefslogtreecommitdiffstats
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-10-07 17:38:23 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-10-07 17:38:23 (GMT)
commit13ac9926ac43d3bff39a08301696105208774b6e (patch)
tree483ca7a4344c3a573e6f3f91262f111c376560e4 /Lib/sre_constants.py
parent5c0b43d1e26e28608170baf2887a82124b62fa36 (diff)
downloadcpython-13ac9926ac43d3bff39a08301696105208774b6e.zip
cpython-13ac9926ac43d3bff39a08301696105208774b6e.tar.gz
cpython-13ac9926ac43d3bff39a08301696105208774b6e.tar.bz2
Fixed too ambitious "nothing to repeat" check. Closes bug #114033.
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 5a20930..ea649c0 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -9,6 +9,8 @@
# See the sre.py file for information on usage and redistribution.
#
+MAXREPEAT = 65535
+
# should this really be here?
class error(Exception):