diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-03 10:22:10 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-03 10:22:10 -0400 |
commit | 4d59a7878643ded0b9dbb6a55d076769df4c76fe (patch) | |
tree | 398df950d4a84ab605f1337eaccb660fef447ef5 /Lib/cgi.py | |
parent | Issue #20375: Clarify ET's parsing of comments and processing instructions. (diff) | |
download | cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.gz cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.bz2 cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.zip |
remove unused argument (closes #21135)
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 2 |
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}[!-~]$" |