mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 17:43:25 +08:00
make __class__ refer to the current object's class (#1549)
Fixes python/mypy#3061
This commit is contained in:
committed by
Matthias Kramm
parent
d389ef3d85
commit
1a164b630c
@@ -90,7 +90,6 @@ class UnboundMethodType:
|
||||
|
||||
class InstanceType:
|
||||
__doc__ = ... # type: Optional[str]
|
||||
__class__ = ... # type: type
|
||||
__module__ = ... # type: Any
|
||||
|
||||
MethodType = UnboundMethodType
|
||||
|
||||
Reference in New Issue
Block a user