mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 09:33:25 +08:00
This reverts commit 1a164b630c.
Reverts python/typeshed#1549.
See Guido's comments in the original PR.
This commit is contained in:
committed by
Guido van Rossum
parent
1a164b630c
commit
78587dc895
@@ -29,16 +29,13 @@ _TT = TypeVar('_TT', bound='type')
|
||||
|
||||
class object:
|
||||
__doc__ = ... # type: Optional[str]
|
||||
__class__ = ... # type: type
|
||||
__dict__ = ... # type: Dict[str, Any]
|
||||
__slots__ = ... # type: Optional[Union[str, Iterable[str]]]
|
||||
__module__ = ... # type: str
|
||||
if sys.version_info >= (3, 6):
|
||||
__annotations__ = ... # type: Dict[str, Any]
|
||||
|
||||
@property
|
||||
def __class__(self: _T) -> Type[_T]: ...
|
||||
@__class__.setter
|
||||
def __class__(self, __type: Type[object]) -> None: ...
|
||||
def __init__(self) -> None: ...
|
||||
def __new__(cls) -> Any: ...
|
||||
def __setattr__(self, name: str, value: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user