Use bytes for resp param of imaplib.Internaldate2tuple (#7892)

This commit is contained in:
Jaakko Lappalainen
2022-05-20 11:45:20 +01:00
committed by GitHub
parent 26fa57ab78
commit 611fa18b5c

View File

@@ -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: ...