From 33ea64898873ef8e254779c1f9754827af43e9ae Mon Sep 17 00:00:00 2001 From: Pavel Karateev Date: Fri, 28 May 2021 19:50:36 +0300 Subject: [PATCH] Add curses.has_extended_color_support() for Python 3.10 (#5549) --- stdlib/_curses.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/_curses.pyi b/stdlib/_curses.pyi index db9b049a9..89a85bbbe 100644 --- a/stdlib/_curses.pyi +++ b/stdlib/_curses.pyi @@ -291,6 +291,10 @@ def getsyx() -> Tuple[int, int]: ... def getwin(__file: BinaryIO) -> _CursesWindow: ... def halfdelay(__tenths: int) -> None: ... def has_colors() -> bool: ... + +if sys.version_info >= (3, 10): + def has_extended_color_support() -> bool: ... + def has_ic() -> bool: ... def has_il() -> bool: ... def has_key(__key: int) -> bool: ...