diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index ff2312727fae..e4cd9c10f647 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -156,6 +156,7 @@ class type(object): def __subclasscheck__(self, subclass: type) -> bool: ... @classmethod def __prepare__(metacls, __name: str, __bases: Tuple[type, ...], **kwds: Any) -> Mapping[str, Any]: ... + def __or__(self, t: type) -> type: ... class super(object): @overload