mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-24 02:28:45 +08:00
asynchat + asyncore: Python 3 compatibility (#1402)
Includes an update to smtpd, which uses asynchat.
This commit is contained in:
committed by
Guido van Rossum
parent
86070643ac
commit
44127444d4
@@ -47,7 +47,7 @@ class SMTPChannel(asynchat.async_chat):
|
||||
map: Optional[asyncore._maptype] = ...) -> None: ...
|
||||
else:
|
||||
def __init__(self, server: SMTPServer, conn: socket.socket, addr: Any, data_size_limit: int = ...) -> None: ...
|
||||
def push(self, msg: Text) -> None: ...
|
||||
def push(self, msg: bytes) -> None: ...
|
||||
def collect_incoming_data(self, data: bytes) -> None: ...
|
||||
def found_terminator(self) -> None: ...
|
||||
def smtp_HELO(self, arg: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user