Revert "make __class__ refer to the current object's class (#1549)" (#1632)

This reverts commit 1a164b630c.

Reverts python/typeshed#1549.

See Guido's comments in the original PR.
This commit is contained in:
Jelle Zijlstra
2017-09-29 14:37:54 -04:00
committed by Guido van Rossum
parent 1a164b630c
commit 78587dc895
4 changed files with 5 additions and 9 deletions

View File

@@ -42,6 +42,7 @@ 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