Skip to content

Commit 1665514

Browse files
committed
Update _curses module for 3.14
1 parent 0b1ee93 commit 1665514

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

stdlib/@tests/stubtest_allowlists/darwin-py314.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# TODO: New errors in Python 3.14 that need to be fixed or moved below
33
# ====================================================================
44

5-
_curses.assume_default_colors
65
_posixsubprocess.fork_exec
76
asyncio.tools
87
asyncio.unix_events.__all__

stdlib/@tests/stubtest_allowlists/linux-py314.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# TODO: New errors in Python 3.14 that need to be fixed or moved below
33
# ====================================================================
44

5-
_curses.assume_default_colors
65
_posixsubprocess.fork_exec
76
asyncio.tools
87
asyncio.unix_events.__all__

stdlib/_curses.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ def has_colors() -> bool: ...
304304
if sys.version_info >= (3, 10):
305305
def has_extended_color_support() -> bool: ...
306306

307+
if sys.version_info >= (3, 14):
308+
def assume_default_colros(fg: int, bg: int, /) -> None: ...
309+
307310
def has_ic() -> bool: ...
308311
def has_il() -> bool: ...
309312
def has_key(key: int, /) -> bool: ...

0 commit comments

Comments
 (0)