Skip to content

Commit 867cc01

Browse files
authored
[curses] Revert Final for LINES and COLS (#14764)
1 parent 67be89e commit 867cc01

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stdlib/curses/__init__.pyi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ _T = TypeVar("_T")
1414
_P = ParamSpec("_P")
1515

1616
# available after calling `curses.initscr()`
17-
LINES: Final[int]
18-
COLS: Final[int]
17+
# not `Final` as it can change during the terminal resize:
18+
LINES: int
19+
COLS: int
1920

2021
# available after calling `curses.start_color()`
2122
COLORS: Final[int]

0 commit comments

Comments
 (0)