From 32a89809f0c95ce51e4e9a1f6ad327c6ca6cecc6 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 30 Jul 2019 00:25:01 -0700 Subject: [PATCH] curses: getch returns an integer (#3156) --- stdlib/2and3/_curses.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2and3/_curses.pyi b/stdlib/2and3/_curses.pyi index 836089f5b..efb7e7994 100644 --- a/stdlib/2and3/_curses.pyi +++ b/stdlib/2and3/_curses.pyi @@ -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: ...