mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use bytes for resp param of imaplib.Internaldate2tuple (#7892)
This commit is contained in:
committed by
GitHub
parent
26fa57ab78
commit
611fa18b5c
@@ -169,7 +169,7 @@ class _Authenticator:
|
||||
def encode(self, inp: bytes) -> str: ...
|
||||
def decode(self, inp: str) -> bytes: ...
|
||||
|
||||
def Internaldate2tuple(resp: str) -> time.struct_time: ...
|
||||
def Internaldate2tuple(resp: bytes) -> time.struct_time: ...
|
||||
def Int2AP(num: int) -> str: ...
|
||||
def ParseFlags(resp: str) -> tuple[str, ...]: ...
|
||||
def Time2Internaldate(date_time: float | time.struct_time | str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user