summaryrefslogtreecommitdiffstats
path: root/Lib/sre_parse.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_parse.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_parse.py')
-rw-r--r--Lib/sre_parse.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py
index 9cbbc02..7c36d4f 100644
--- a/Lib/sre_parse.py
+++ b/Lib/sre_parse.py
@@ -12,8 +12,6 @@ import string, sys
from sre_constants import *
-MAXREPEAT = 65535
-
SPECIAL_CHARS = ".\\[{()*+?^$|"
REPEAT_CHARS = "*+?{"