Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-15 00:18:19 +00:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions

View File

@@ -24,19 +24,19 @@ class SMTPServerDisconnected(SMTPException): ...
class SMTPResponseException(SMTPException):
smtp_code: int
smtp_error: bytes | str
args: Tuple[int, bytes | str] | Tuple[int, bytes, str]
args: tuple[int, bytes | str] | tuple[int, bytes, str]
def __init__(self, code: int, msg: bytes | str) -> None: ...
class SMTPSenderRefused(SMTPResponseException):
smtp_code: int
smtp_error: bytes
sender: str
args: Tuple[int, bytes, str]
args: tuple[int, bytes, str]
def __init__(self, code: int, msg: bytes, sender: str) -> None: ...
class SMTPRecipientsRefused(SMTPException):
recipients: _SendErrs
args: Tuple[_SendErrs]
args: tuple[_SendErrs]
def __init__(self, recipients: _SendErrs) -> None: ...
class SMTPDataError(SMTPResponseException): ...