From 8bc05ceaaebae880bdd1dbc13c268918586dd58e Mon Sep 17 00:00:00 2001 From: Ali Hamdan Date: Sun, 16 Aug 2026 10:22:28 +0200 Subject: [PATCH] Replace use of `builtins.ellipsis` with `types.EllipsisType` Needed for #15712 --- stdlib/marshal.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stdlib/marshal.pyi b/stdlib/marshal.pyi index d72abe7758b7..2988074a4336 100644 --- a/stdlib/marshal.pyi +++ b/stdlib/marshal.pyi @@ -1,4 +1,3 @@ -import builtins import sys import types from _typeshed import ReadableBuffer, SupportsRead, SupportsWrite @@ -10,7 +9,7 @@ _Marshallable: TypeAlias = ( # handled in w_object() in marshal.c None | type[StopIteration] - | builtins.ellipsis + | types.EllipsisType | bool # handled in w_complex_object() in marshal.c | int