mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-05 09:27:38 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -40,6 +40,7 @@ class IMAP4:
|
||||
else:
|
||||
def __init__(self, host: str = ..., port: int = ...) -> None: ...
|
||||
def open(self, host: str = ..., port: int = ...) -> None: ...
|
||||
|
||||
def __getattr__(self, attr: str) -> Any: ...
|
||||
host: str
|
||||
port: int
|
||||
@@ -96,6 +97,7 @@ class IMAP4:
|
||||
def unsubscribe(self, mailbox: str) -> _CommandResults: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def unselect(self) -> _CommandResults: ...
|
||||
|
||||
def xatom(self, name: str, *args: str) -> _CommandResults: ...
|
||||
def print_log(self) -> None: ...
|
||||
|
||||
@@ -130,6 +132,7 @@ class IMAP4_SSL(IMAP4):
|
||||
def open(self, host: str = ..., port: int | None = ..., timeout: float | None = ...) -> None: ...
|
||||
else:
|
||||
def open(self, host: str = ..., port: int | None = ...) -> None: ...
|
||||
|
||||
def read(self, size: int) -> bytes: ...
|
||||
def readline(self) -> bytes: ...
|
||||
def send(self, data: bytes) -> None: ...
|
||||
@@ -151,6 +154,7 @@ class IMAP4_stream(IMAP4):
|
||||
def open(self, host: str | None = ..., port: int | None = ..., timeout: float | None = ...) -> None: ...
|
||||
else:
|
||||
def open(self, host: str | None = ..., port: int | None = ...) -> None: ...
|
||||
|
||||
def read(self, size: int) -> bytes: ...
|
||||
def readline(self) -> bytes: ...
|
||||
def send(self, data: bytes) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user