From 5b00c05c79469bbebbe6eba7118a3849437fbecc Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 8 May 2026 00:29:50 +0200 Subject: [PATCH] Remove `builtins.ellipsis` pseudo-type This type never existed at runtime, and was replaced by `types.EllipsisType`. --- stdlib/builtins.pyi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index 0b87751437db..517c8d1f7cfd 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -1980,10 +1980,6 @@ def __import__( ) -> types.ModuleType: ... def __build_class__(func: Callable[[], CellType | Any], name: str, /, *bases: Any, metaclass: Any = ..., **kwds: Any) -> Any: ... -# Backwards compatibility hack for folks who relied on the ellipsis type -# existing in typeshed in Python 3.9 and earlier. -ellipsis = EllipsisType - Ellipsis: EllipsisType NotImplemented: NotImplementedType