mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 15:49:12 +08:00
Mark first argument of __[get|set|del]attr__ as str (#9245)
This commit is contained in:
1 parent
3026610797
commit
18e2ae762b
53 files changed
+106
-106
No files matched your search
@@ -27,7 +27,7 @@ class NamedStyle(Serialisable): # type: ignore[misc]
|
||||
hidden: bool = ...,
|
||||
xfId: Any | None = ...,
|
||||
) -> None: ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __setattr__(self, attr: str, value) -> None: ...
|
||||
def __iter__(self): ...
|
||||
@property
|
||||
def xfId(self): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class StyleProxy:
|
||||
def __init__(self, target) -> None: ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
def __setattr__(self, attr: str, value) -> None: ...
|
||||
def __copy__(self): ...
|
||||
def __add__(self, other): ...
|
||||
def copy(self, **kw): ...
|
||||
|
||||
Reference in new issue
Block a user