summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-03 14:22:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-04-03 14:22:22 (GMT)
commit2995f8a7985519687a8535af35c5a895a69c83ef (patch)
tree70fc7f44e1327512c515e805f2b538f8faf168c6 /Lib/cgi.py
parent10fbf183b387ca330c01ae88681ba59a6fbfb1b1 (diff)
parent4d59a7878643ded0b9dbb6a55d076769df4c76fe (diff)
downloadcpython-2995f8a7985519687a8535af35c5a895a69c83ef.zip
cpython-2995f8a7985519687a8535af35c5a895a69c83ef.tar.gz
cpython-2995f8a7985519687a8535af35c5a895a69c83ef.tar.bz2
merge 3.4 (#21135)
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index a919742..1ef780c 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -1045,7 +1045,7 @@ def escape(s, quote=None):
return s
-def valid_boundary(s, _vb_pattern=None):
+def valid_boundary(s):
import re
if isinstance(s, bytes):
_vb_pattern = b"^[ -~]{0,200}[!-~]$"