Skip to content

Commit 5b00c05

Browse files
authored
Remove builtins.ellipsis pseudo-type
This type never existed at runtime, and was replaced by `types.EllipsisType`.
1 parent c8c5e9e commit 5b00c05

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

stdlib/builtins.pyi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,10 +1980,6 @@ def __import__(
19801980
) -> types.ModuleType: ...
19811981
def __build_class__(func: Callable[[], CellType | Any], name: str, /, *bases: Any, metaclass: Any = ..., **kwds: Any) -> Any: ...
19821982

1983-
# Backwards compatibility hack for folks who relied on the ellipsis type
1984-
# existing in typeshed in Python 3.9 and earlier.
1985-
ellipsis = EllipsisType
1986-
19871983
Ellipsis: EllipsisType
19881984
NotImplemented: NotImplementedType
19891985

0 commit comments

Comments
 (0)