mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Add module constants for smtplib (#1962)
This commit is contained in:
committed by
Jelle Zijlstra
parent
eda3f36cb9
commit
97d3cea9d1
@@ -1,10 +1,18 @@
|
||||
from email.message import Message as _Message
|
||||
from typing import (
|
||||
Any, AnyStr, Dict, Generic, List, Optional, Sequence, Tuple, Union)
|
||||
Any, AnyStr, Dict, Generic, List, Optional, Sequence, Tuple, Union,
|
||||
Pattern)
|
||||
|
||||
_Reply = Tuple[int, bytes]
|
||||
_SendErrs = Dict[str, _Reply]
|
||||
|
||||
SMTP_PORT: int
|
||||
SMTP_SSL_PORT: int
|
||||
CRLF: str
|
||||
bCRLF: bytes
|
||||
|
||||
OLDSTYLE_AUTH: Pattern[str]
|
||||
|
||||
class SMTPException(OSError): ...
|
||||
class SMTPServerDisconnected(SMTPException): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user