summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-10-07 17:38:23 +0000
committerFredrik Lundh <fredrik@pythonware.com>2000-10-07 17:38:23 +0000
commit85ed5a029a3c3fc30e52ba28e0ff7cf81dcbc8f7 (patch)
tree8ddf420f6d4fd124522236541bd46d3d9df298cd /Lib/sre_constants.py
parent714cd4e2ac71c0a10be160eb2ad59653593e706b (diff)
downloadcpython-85ed5a029a3c3fc30e52ba28e0ff7cf81dcbc8f7.tar.gz
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 5a20930ce1..ea649c0482 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):