]> granicus.if.org Git - python/commitdiff
remove unused argument (closes #21135)
authorBenjamin Peterson <benjamin@python.org>
Thu, 3 Apr 2014 14:22:10 +0000 (10:22 -0400)
committerBenjamin Peterson <benjamin@python.org>
Thu, 3 Apr 2014 14:22:10 +0000 (10:22 -0400)
Lib/cgi.py

index a91974263d94801a0595b649715cae240551eb6c..1ef780c11c4a88eb1a3eb325f13ed6c0722f762d 100755 (executable)
@@ -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}[!-~]$"