[Python-checkins] cpython (3.4): remove unused argument (closes #21135)

benjamin.peterson python-checkins at python.org
Thu Apr 3 16:22:30 CEST 2014


http://hg.python.org/cpython/rev/54bd06097619
changeset:   90118:54bd06097619
branch:      3.4
parent:      90116:871278b87c62
user:        Benjamin Peterson <benjamin at python.org>
date:        Thu Apr 03 10:22:10 2014 -0400
summary:
  remove unused argument (closes #21135)

files:
  Lib/cgi.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/cgi.py b/Lib/cgi.py
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -1045,7 +1045,7 @@
     return s
 
 
-def valid_boundary(s, _vb_pattern=None):
+def valid_boundary(s):
     import re
     if isinstance(s, bytes):
         _vb_pattern = b"^[ -~]{0,200}[!-~]$"

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list