File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,8 @@ class int:
273
273
def __index__ (self ) -> int : ...
274
274
275
275
class float :
276
+ """Get a float from a number or a string.
277
+ """
276
278
def __new__ (
277
279
cls : Type [_T ], x : SupportsFloat | SupportsIndex | str | bytes | bytearray = ...
278
280
) -> _T :
@@ -356,6 +358,8 @@ class complex:
356
358
def __bool__ (self ) -> bool : ...
357
359
358
360
class str (Sequence [str ]):
361
+ """Get a string version of an object or new empty string.
362
+ """
359
363
@overload
360
364
def __new__ (cls : Type [_T ], object : object = "" ) -> _T :
361
365
"""Get a string version of an object.
@@ -855,6 +859,8 @@ class frozenset(AbstractSet[_T_co], Generic[_T_co]):
855
859
def __class_getitem__ (cls , item : Any ) -> GenericAlias : ...
856
860
857
861
class list (MutableSequence [_T ], Generic [_T ]):
862
+ """The list data type
863
+ """
858
864
@overload
859
865
def __init__ (self ) -> None : ...
860
866
@overload
You can’t perform that action at this time.
0 commit comments