mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +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
@@ -42,7 +42,6 @@ if sys.version_info >= (3, 3):
|
||||
def attach_mock(self, mock: Any, attribute: Any) -> Any: ...
|
||||
def mock_add_spec(self, spec: Any, spec_set: Any = False) -> Any: ...
|
||||
return_value = ... # type: Any
|
||||
__class__ = ... # type: type
|
||||
called = ... # type: Any
|
||||
call_count = ... # type: Any
|
||||
call_args = ... # type: Any
|
||||
|
||||
Reference in New Issue
Block a user