From 4d59a7878643ded0b9dbb6a55d076769df4c76fe Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 3 Apr 2014 10:22:10 -0400 Subject: [PATCH] remove unused argument (closes #21135) --- Lib/cgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}[!-~]$"