mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Various stubtest fixes (#5230)
This commit is contained in:
@@ -84,5 +84,21 @@ class SMTPServer(asyncore.dispatcher):
|
||||
) -> Optional[str]: ...
|
||||
|
||||
class DebuggingServer(SMTPServer): ...
|
||||
class PureProxy(SMTPServer): ...
|
||||
class MailmanProxy(PureProxy): ...
|
||||
|
||||
class PureProxy(SMTPServer):
|
||||
def process_message( # type: ignore
|
||||
self,
|
||||
peer: _Address,
|
||||
mailfrom: str,
|
||||
rcpttos: List[Text],
|
||||
data: Union[bytes, str],
|
||||
) -> Optional[str]: ...
|
||||
|
||||
class MailmanProxy(PureProxy):
|
||||
def process_message( # type: ignore
|
||||
self,
|
||||
peer: _Address,
|
||||
mailfrom: str,
|
||||
rcpttos: List[Text],
|
||||
data: Union[bytes, str],
|
||||
) -> Optional[str]: ...
|
||||
|
||||
Reference in New Issue
Block a user