|
1 | | -from _typeshed import Incomplete |
| 1 | +from _typeshed import Incomplete, Unused |
| 2 | +from collections.abc import Iterator |
2 | 3 | from typing import Final |
3 | 4 | from typing_extensions import TypeAlias |
4 | 5 |
|
@@ -62,12 +63,12 @@ class CoClassBaseClass: |
62 | 63 | def __init__(self, oobj: Incomplete | None = ...) -> None: ... |
63 | 64 | def __getattr__(self, attr: str): ... |
64 | 65 | def __setattr__(self, attr: str, value) -> None: ... |
65 | | - def __maybe__call__(self, *args, **kwargs): ... |
66 | | - def __maybe__str__(self, *args): ... |
67 | | - def __maybe__int__(self, *args): ... |
68 | | - def __maybe__iter__(self): ... |
69 | | - def __maybe__len__(self): ... |
70 | | - def __maybe__bool__(self): ... |
| 66 | + def __call__(self, *args, **kwargs): ... |
| 67 | + def __str__(self, *args: Unused) -> str: ... # noqa: Y029 |
| 68 | + def __int__(self, *args: Unused) -> int: ... |
| 69 | + def __iter__(self) -> Iterator[Incomplete]: ... |
| 70 | + def __len__(self) -> int: ... |
| 71 | + def __bool__(self) -> bool: ... |
71 | 72 |
|
72 | 73 | class VARIANT: |
73 | 74 | varianttype: Incomplete |
|
0 commit comments