aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-03 10:22:10 -0400
committerBenjamin Peterson <benjamin@python.org>2014-04-03 10:22:10 -0400
commit4d59a7878643ded0b9dbb6a55d076769df4c76fe (patch)
tree398df950d4a84ab605f1337eaccb660fef447ef5 /Lib/cgi.py
parentIssue #20375: Clarify ET's parsing of comments and processing instructions. (diff)
downloadcpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.gz
cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.bz2
cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.zip
remove unused argument (closes #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 a91974263d9..1ef780c11c4 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}[!-~]$"