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

@@ -11,19 +11,19 @@ class SMTPResponseException(SMTPException):
smtp_code = ... # type: Any
smtp_error = ... # type: Any
args = ... # type: Any
def __init__(self, code, msg): ...
def __init__(self, code, msg) -> None: ...
class SMTPSenderRefused(SMTPResponseException):
smtp_code = ... # type: Any
smtp_error = ... # type: Any
sender = ... # type: Any
args = ... # type: Any
def __init__(self, code, msg, sender): ...
def __init__(self, code, msg, sender) -> None: ...
class SMTPRecipientsRefused(SMTPException):
recipients = ... # type: Any
args = ... # type: Any
def __init__(self, recipients): ...
def __init__(self, recipients) -> None: ...
class SMTPDataError(SMTPResponseException): ...
class SMTPConnectError(SMTPResponseException): ...
@@ -88,7 +88,7 @@ class SMTP_SSL(SMTP):
class LMTP(SMTP):
ehlo_msg = ... # type: Any
def __init__(self, host='', port=..., local_hostname=None, source_address=None): ...
def __init__(self, host='', port=..., local_hostname=None, source_address=None) -> None: ...
sock = ... # type: Any
file = ... # type: Any
def connect(self, host='', port=0, source_address=None): ...