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 | 0bd22d427709c5bc2e60e176e52fb00d76d6759f (diff) | |
| download | cpython-git-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.gz | |
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 a91974263d..1ef780c11c 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}[!-~]$" |
