summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-03 14:22:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-04-03 14:22:10 (GMT)
commit4d59a7878643ded0b9dbb6a55d076769df4c76fe (patch)
tree398df950d4a84ab605f1337eaccb660fef447ef5
parent0bd22d427709c5bc2e60e176e52fb00d76d6759f (diff)
downloadcpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.zip
cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.gz
cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.bz2
remove unused argument (closes #21135)
-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}[!-~]$"