mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
imaplib, nntplib, plistlib, poplib: use lower-case list and dict (#5890)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import socket
|
||||
import ssl
|
||||
from typing import Any, BinaryIO, Dict, List, Pattern, Tuple, overload
|
||||
from typing import Any, BinaryIO, List, Pattern, Tuple, overload
|
||||
|
||||
_LongResp = Tuple[bytes, List[bytes], int]
|
||||
|
||||
@@ -41,7 +41,7 @@ class POP3:
|
||||
@overload
|
||||
def uidl(self, which: Any) -> bytes: ...
|
||||
def utf8(self) -> bytes: ...
|
||||
def capa(self) -> Dict[str, List[str]]: ...
|
||||
def capa(self) -> dict[str, List[str]]: ...
|
||||
def stls(self, context: ssl.SSLContext | None = ...) -> bytes: ...
|
||||
|
||||
class POP3_SSL(POP3):
|
||||
|
||||
Reference in New Issue
Block a user