mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 14:55:50 +08:00
Improve annotations for __instancecheck__, __subclasscheck__ (#9291)
This commit is contained in:
1 parent
c6800d1214
commit
ea2ccc3c21
2 files changed
+3
-3
No files matched your search
@@ -16,7 +16,7 @@ class Error(Exception): ...
|
||||
class TypeTransformationError(Error): ...
|
||||
|
||||
class DescriptorMetaclass(type):
|
||||
def __instancecheck__(self, obj): ...
|
||||
def __instancecheck__(self, obj: Any) -> bool: ...
|
||||
|
||||
_internal_create_key: object
|
||||
|
||||
|
||||
Reference in new issue
Block a user