mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 12:21:27 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -5,4 +5,4 @@
|
||||
from email.mime.nonmultipart import MIMENonMultipart
|
||||
|
||||
class MIMEText(MIMENonMultipart):
|
||||
def __init__(self, _text, _subtype='', _charset='') -> None: ...
|
||||
def __init__(self, _text, _subtype=..., _charset=...) -> None: ...
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
from email.mime.base import MIMEBase
|
||||
|
||||
class MIMEMultipart(MIMEBase):
|
||||
def __init__(self, _subtype='', boundary=None, _subparts=None, **_params) -> None: ...
|
||||
def __init__(self, _subtype=..., boundary=..., _subparts=..., **_params) -> None: ...
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
from email.mime.nonmultipart import MIMENonMultipart
|
||||
|
||||
class MIMEText(MIMENonMultipart):
|
||||
def __init__(self, _text, _subtype='', _charset='') -> None: ...
|
||||
def __init__(self, _text, _subtype=..., _charset=...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user