mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Mark first argument of __[get|set|del]attr__ as str (#9245)
This commit is contained in:
@@ -3,8 +3,8 @@ from typing import Any
|
||||
class _PasslibRegistryProxy:
|
||||
__name__: str
|
||||
__package__: Any
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
def __setattr__(self, attr: str, value) -> None: ...
|
||||
def __dir__(self): ...
|
||||
|
||||
def register_crypt_handler_path(name, path) -> None: ...
|
||||
|
||||
@@ -43,7 +43,7 @@ class Base64Engine:
|
||||
|
||||
class LazyBase64Engine(Base64Engine):
|
||||
def __init__(self, *args, **kwds) -> None: ...
|
||||
def __getattribute__(self, attr): ...
|
||||
def __getattribute__(self, attr: str): ...
|
||||
|
||||
h64: Any
|
||||
h64big: Any
|
||||
|
||||
@@ -159,8 +159,8 @@ class PrefixWrapper:
|
||||
@property
|
||||
def ident_values(self): ...
|
||||
def __dir__(self): ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __setattr__(self, attr, value) -> None: ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
def __setattr__(self, attr: str, value) -> None: ...
|
||||
def using(self, **kwds): ...
|
||||
def needs_update(self, hash, **kwds): ...
|
||||
def identify(self, hash): ...
|
||||
|
||||
Reference in New Issue
Block a user