Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/3/email/mime/application.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ from email.mime.nonmultipart import MIMENonMultipart
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]

class MIMEApplication(MIMENonMultipart):
def __init__(self, _data: bytes, _subtype: str = ...,
def __init__(self, _data: Union[str, bytes], _subtype: str = ...,
_encoder: Callable[[MIMEApplication], None] = ...,
**_params: _ParamsType) -> None: ...
2 changes: 1 addition & 1 deletion stdlib/3/email/mime/audio.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ from email.mime.nonmultipart import MIMENonMultipart
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]

class MIMEAudio(MIMENonMultipart):
def __init__(self, _audiodata: bytes, _subtype: Optional[str] = ...,
def __init__(self, _audiodata: Union[str, bytes], _subtype: Optional[str] = ...,
_encoder: Callable[[MIMEAudio], None] = ...,
**_params: _ParamsType) -> None: ...
2 changes: 1 addition & 1 deletion stdlib/3/email/mime/image.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ from email.mime.nonmultipart import MIMENonMultipart
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]

class MIMEImage(MIMENonMultipart):
def __init__(self, _imagedata: bytes, _subtype: Optional[str] = ...,
def __init__(self, _imagedata: Union[str, bytes], _subtype: Optional[str] = ...,
_encoder: Callable[[MIMEImage], None] = ...,
**_params: _ParamsType) -> None: ...