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

This commit is contained in:
Brian Schubert
2025-09-14 20:16:16 -04:00
committed by GitHub
parent 0d100b9110
commit 47dbbd6c91
27 changed files with 110 additions and 24 deletions
+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: ...