fix email.mime (#1482)

* add missing python 2 email.mime.application stub

* restore missing python 3 mime package

* Delete __init__.py
This commit is contained in:
Thomas Grainger authored and Jelle Zijlstra committed 2017-07-26 08:29:30 -07:00
1 parent 34c8aa0d4c
commit 15c8474e35
2 files changed
+11

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Stubs for email.mime.application
from typing import Callable, Optional, Tuple, Union
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 = ...,
_encoder: Callable[[MIMEApplication], None] = ...,
**_params: _ParamsType) -> None: ...
File renamed without changes.