Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change Int2AP
  • Loading branch information
sobolevn committed Oct 28, 2022
commit 5024d55eefbef5796b6830eb0425f72fe385b78e
4 changes: 2 additions & 2 deletions stdlib/imaplib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from re import Pattern
from socket import socket as _socket
from ssl import SSLContext, SSLSocket
from types import TracebackType
from typing import IO, Any
from typing import IO, Any, SupportsAbs, SupportsInt
from typing_extensions import Literal, TypeAlias

__all__ = ["IMAP4", "IMAP4_stream", "Internaldate2tuple", "Int2AP", "ParseFlags", "Time2Internaldate", "IMAP4_SSL"]
Expand Down Expand Up @@ -158,6 +158,6 @@ class _Authenticator:
def decode(self, inp: str) -> bytes: ...

def Internaldate2tuple(resp: ReadableBuffer) -> time.struct_time | None: ...
def Int2AP(num: int) -> str: ...
def Int2AP(num: SupportsAbs[SupportsInt]) -> str: ...
def ParseFlags(resp: ReadableBuffer) -> tuple[bytes, ...]: ...
def Time2Internaldate(date_time: float | time.struct_time | time._TimeTuple | datetime | str) -> str: ...