From: Benjamin Peterson Date: Thu, 3 Apr 2014 14:22:10 +0000 (-0400) Subject: remove unused argument (closes #21135) X-Git-Tag: v3.4.1rc1~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d59a7878643ded0b9dbb6a55d076769df4c76fe;p=python remove unused argument (closes #21135) --- 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}[!-~]$"