msvcrt: improve bytes handling (#9071)

This commit is contained in:
Jelle Zijlstra
2022-11-03 04:11:36 -07:00
committed by GitHub
parent 43631078f0
commit 2f3f8da90a

View File

@@ -21,8 +21,8 @@ if sys.platform == "win32":
def getwch() -> str: ...
def getche() -> bytes: ...
def getwche() -> str: ...
def putch(__char: bytes) -> None: ...
def putch(__char: bytes | bytearray) -> None: ...
def putwch(__unicode_char: str) -> None: ...
def ungetch(__char: bytes) -> None: ...
def ungetch(__char: bytes | bytearray) -> None: ...
def ungetwch(__unicode_char: str) -> None: ...
def heapmin() -> None: ...