diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-03 14:22:10 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-03 14:22:10 (GMT) |
commit | 4d59a7878643ded0b9dbb6a55d076769df4c76fe (patch) | |
tree | 398df950d4a84ab605f1337eaccb660fef447ef5 /Lib | |
parent | 0bd22d427709c5bc2e60e176e52fb00d76d6759f (diff) | |
download | cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.zip cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.gz cpython-4d59a7878643ded0b9dbb6a55d076769df4c76fe.tar.bz2 |
remove unused argument (closes #21135)
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}[!-~]$" |