mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-24 18:48:46 +08:00
Mark first argument of __[get|set|del]attr__ as str (#9245)
This commit is contained in:
@@ -30,15 +30,15 @@ def CastTo(ob, target, typelib: Incomplete | None = ...): ...
|
||||
|
||||
class Constants:
|
||||
__dicts__: Incomplete
|
||||
def __getattr__(self, a): ...
|
||||
def __getattr__(self, a: str): ...
|
||||
|
||||
constants: Incomplete
|
||||
|
||||
class EventsProxy:
|
||||
def __init__(self, ob) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, val) -> None: ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
def __setattr__(self, attr: str, val) -> None: ...
|
||||
|
||||
def DispatchWithEvents(clsid, user_event_class): ...
|
||||
def WithEvents(disp, user_event_class): ...
|
||||
@@ -50,13 +50,13 @@ class DispatchBaseClass:
|
||||
def __dir__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
def __setattr__(self, attr: str, value) -> None: ...
|
||||
|
||||
class CoClassBaseClass:
|
||||
def __init__(self, oobj: Incomplete | None = ...) -> None: ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
def __setattr__(self, attr: str, value) -> None: ...
|
||||
def __maybe__call__(self, *args, **kwargs): ...
|
||||
def __maybe__str__(self, *args): ...
|
||||
def __maybe__int__(self, *args): ...
|
||||
|
||||
Reference in New Issue
Block a user