Skip to content

Commit b67e0da

Browse files
authored
Remove obsolete type alias _CursesWindow (#13841)
1 parent 5113659 commit b67e0da

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stdlib/curses/__init__.pyi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ COLOR_PAIRS: int
2323

2424
def wrapper(func: Callable[Concatenate[window, _P], _T], /, *arg: _P.args, **kwds: _P.kwargs) -> _T: ...
2525

26-
# typeshed used the name _CursesWindow for the underlying C class before
27-
# it was mapped to the name 'window' in 3.8.
28-
# Kept here as a legacy alias in case any third-party code is relying on it.
29-
_CursesWindow = window
30-
3126
# At runtime this class is unexposed and calls itself curses.ncurses_version.
3227
# That name would conflict with the actual curses.ncurses_version, which is
3328
# an instance of this class.

0 commit comments

Comments
 (0)