mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
@@ -111,8 +111,8 @@ class SMTP:
|
||||
def help(self, args: str = "") -> bytes: ...
|
||||
def rset(self) -> _Reply: ...
|
||||
def noop(self) -> _Reply: ...
|
||||
def mail(self, sender: str, options: Sequence[str] = ...) -> _Reply: ...
|
||||
def rcpt(self, recip: str, options: Sequence[str] = ...) -> _Reply: ...
|
||||
def mail(self, sender: str, options: Sequence[str] = ()) -> _Reply: ...
|
||||
def rcpt(self, recip: str, options: Sequence[str] = ()) -> _Reply: ...
|
||||
def data(self, msg: ReadableBuffer | str) -> _Reply: ...
|
||||
def verify(self, address: str) -> _Reply: ...
|
||||
vrfy = verify
|
||||
@@ -134,16 +134,16 @@ class SMTP:
|
||||
from_addr: str,
|
||||
to_addrs: str | Sequence[str],
|
||||
msg: _BufferWithLen | str,
|
||||
mail_options: Sequence[str] = ...,
|
||||
rcpt_options: Sequence[str] = ...,
|
||||
mail_options: Sequence[str] = (),
|
||||
rcpt_options: Sequence[str] = (),
|
||||
) -> _SendErrs: ...
|
||||
def send_message(
|
||||
self,
|
||||
msg: _Message,
|
||||
from_addr: str | None = None,
|
||||
to_addrs: str | Sequence[str] | None = None,
|
||||
mail_options: Sequence[str] = ...,
|
||||
rcpt_options: Sequence[str] = ...,
|
||||
mail_options: Sequence[str] = (),
|
||||
rcpt_options: Sequence[str] = (),
|
||||
) -> _SendErrs: ...
|
||||
def close(self) -> None: ...
|
||||
def quit(self) -> _Reply: ...
|
||||
|
||||
Reference in New Issue
Block a user