Remove obsolete type alias _CursesWindow (#13841)

This commit is contained in:
Sebastian Rittau
2025-04-16 11:43:06 +02:00
committed by GitHub
parent 5113659d37
commit b67e0da207
-5
View File
@@ -23,11 +23,6 @@ COLOR_PAIRS: int
def wrapper(func: Callable[Concatenate[window, _P], _T], /, *arg: _P.args, **kwds: _P.kwargs) -> _T: ...
# typeshed used the name _CursesWindow for the underlying C class before
# it was mapped to the name 'window' in 3.8.
# Kept here as a legacy alias in case any third-party code is relying on it.
_CursesWindow = window
# At runtime this class is unexposed and calls itself curses.ncurses_version.
# That name would conflict with the actual curses.ncurses_version, which is
# an instance of this class.