From b67e0da2072d20b445266353a83c2d0fb28a2af0 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 16 Apr 2025 11:43:06 +0200 Subject: [PATCH] Remove obsolete type alias _CursesWindow (#13841) --- stdlib/curses/__init__.pyi | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stdlib/curses/__init__.pyi b/stdlib/curses/__init__.pyi index edc64a00c..5c157fd7c 100644 --- a/stdlib/curses/__init__.pyi +++ b/stdlib/curses/__init__.pyi @@ -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.