mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
remove unused argument (closes #21135)
This commit is contained in:
parent
0bd22d4277
commit
4d59a78786
1 changed files with 1 additions and 1 deletions
|
@ -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}[!-~]$"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue