@@ -42,6 +42,9 @@ class object:
4242 def __str__ (self ) -> str : ...
4343 def __repr__ (self ) -> str : ...
4444 def __hash__ (self ) -> int : ...
45+ def __format__ (self , format_spec : str ) -> str : ...
46+ def __getattribute__ (self , name : str ) -> Any : ...
47+ def __delattr__ (self , name : str ) -> None : ...
4548
4649class type :
4750 __bases__ = ... # type: Tuple[type, ...]
@@ -151,7 +154,6 @@ class float(SupportsFloat, SupportsInt, SupportsAbs[float]):
151154 def __float__ (self ) -> float : ...
152155 def __abs__ (self ) -> float : ...
153156 def __hash__ (self ) -> int : ...
154- def __format__ (self , format_spec : str ) -> str : ...
155157
156158class complex (SupportsAbs [float ]):
157159 @overload
@@ -639,7 +641,6 @@ class enumerate(Iterator[Tuple[int, _T]], Generic[_T]):
639641 def __init__ (self , iterable : Iterable [_T ], start : int = 0 ) -> None : ...
640642 def __iter__ (self ) -> Iterator [Tuple [int , _T ]]: ...
641643 def __next__ (self ) -> Tuple [int , _T ]: ...
642- # TODO __getattribute__
643644
644645class range (Sequence [int ]):
645646 @overload
0 commit comments