Kaydet (Commit) 4d59a787 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove unused argument (closes #21135)

üst 0bd22d42
...@@ -1045,7 +1045,7 @@ def escape(s, quote=None): ...@@ -1045,7 +1045,7 @@ def escape(s, quote=None):
return s return s
def valid_boundary(s, _vb_pattern=None): def valid_boundary(s):
import re import re
if isinstance(s, bytes): if isinstance(s, bytes):
_vb_pattern = b"^[ -~]{0,200}[!-~]$" _vb_pattern = b"^[ -~]{0,200}[!-~]$"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment