[curses] Revert Final for LINES and COLS (#14764)

This commit is contained in:
Semyon Moroz
2025-09-23 14:46:41 +04:00
committed by GitHub
parent 67be89e4eb
commit 867cc01a0b
+3 -2
View File
@@ -14,8 +14,9 @@ _T = TypeVar("_T")
_P = ParamSpec("_P")
# available after calling `curses.initscr()`
LINES: Final[int]
COLS: Final[int]
# not `Final` as it can change during the terminal resize:
LINES: int
COLS: int
# available after calling `curses.start_color()`
COLORS: Final[int]