Add @disjoint_base decorator to the third-party stubs (#14716)

This commit is contained in:
Brian Schubert authored and GitHub committed 2025-09-15 02:16:16 +02:00
1 parent 0d100b9110
commit 47dbbd6c91
27 files changed
+110 -24

No files matched your search

+2 -1
View File
@@ -2,7 +2,7 @@ from _typeshed import Incomplete, Unused
from abc import abstractmethod
from collections.abc import Sequence
from typing import ClassVar, SupportsInt, overload
from typing_extensions import TypeAlias, deprecated
from typing_extensions import TypeAlias, deprecated, disjoint_base
import _win32typing
from win32.lib.pywintypes import TimeType, com_error as com_error
@@ -11,6 +11,7 @@ error: TypeAlias = com_error # noqa: Y042
class internal_error(Exception): ...
@disjoint_base
class com_record:
@abstractmethod
def __init__(self, /, *args, **kwargs) -> None: ...