mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
curses: getch returns an integer (#3156)
This commit is contained in:
1 parent
568f1ea555
commit
32a89809f0
1 file changed
+2
-2
@@ -350,9 +350,9 @@ class _CursesWindow:
|
||||
def getbegyx(self) -> Tuple[int, int]: ...
|
||||
def getbkgd(self) -> Tuple[int, int]: ...
|
||||
@overload
|
||||
def getch(self) -> _chtype: ...
|
||||
def getch(self) -> int: ...
|
||||
@overload
|
||||
def getch(self, y: int, x: int) -> _chtype: ...
|
||||
def getch(self, y: int, x: int) -> int: ...
|
||||
if sys.version_info >= (3, 3):
|
||||
@overload
|
||||
def get_wch(self) -> _chtype: ...
|
||||
|
||||
Reference in new issue
Block a user