Add missing '-> None' to all __init__ methods.

This commit is contained in:
Matthias Kramm
2015-11-09 10:25:08 -08:00
parent d2a3d4a4ed
commit 4fe8915d44
144 changed files with 580 additions and 580 deletions

View File

@@ -5,4 +5,4 @@
from email.mime.nonmultipart import MIMENonMultipart
class MIMEText(MIMENonMultipart):
def __init__(self, _text, _subtype='', _charset=''): ...
def __init__(self, _text, _subtype='', _charset='') -> None: ...

View File

@@ -7,4 +7,4 @@
# TODO
#class MIMEBase(message.Message):
class MIMEBase:
def __init__(self, _maintype, _subtype, **_params): ...
def __init__(self, _maintype, _subtype, **_params) -> None: ...

View File

@@ -5,4 +5,4 @@
from email.mime.base import MIMEBase
class MIMEMultipart(MIMEBase):
def __init__(self, _subtype='', boundary=None, _subparts=None, **_params): ...
def __init__(self, _subtype='', boundary=None, _subparts=None, **_params) -> None: ...

View File

@@ -5,4 +5,4 @@
from email.mime.nonmultipart import MIMENonMultipart
class MIMEText(MIMENonMultipart):
def __init__(self, _text, _subtype='', _charset=''): ...
def __init__(self, _text, _subtype='', _charset='') -> None: ...