We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4363107 commit 2f3f8daCopy full SHA for 2f3f8da
stdlib/msvcrt.pyi
@@ -21,8 +21,8 @@ if sys.platform == "win32":
21
def getwch() -> str: ...
22
def getche() -> bytes: ...
23
def getwche() -> str: ...
24
- def putch(__char: bytes) -> None: ...
+ def putch(__char: bytes | bytearray) -> None: ...
25
def putwch(__unicode_char: str) -> None: ...
26
- def ungetch(__char: bytes) -> None: ...
+ def ungetch(__char: bytes | bytearray) -> None: ...
27
def ungetwch(__unicode_char: str) -> None: ...
28
def heapmin() -> None: ...
0 commit comments