mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add curses.has_key submodule (#8421)
This commit is contained in:
4
stdlib/curses/has_key.pyi
Normal file
4
stdlib/curses/has_key.pyi
Normal file
@@ -0,0 +1,4 @@
|
||||
import sys
|
||||
|
||||
if sys.platform != "win32":
|
||||
def has_key(ch: int | str) -> bool: ...
|
||||
@@ -59,6 +59,7 @@ xxlimited
|
||||
# Modules that rely on _curses
|
||||
curses
|
||||
curses.ascii
|
||||
curses.has_key
|
||||
curses.panel
|
||||
curses.textpad
|
||||
|
||||
|
||||
Reference in New Issue
Block a user