Skip to content

Commit 58f7aca

Browse files
Placeholder class docs
1 parent 01072dc commit 58f7aca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lang/en/typeshed/stdlib/builtins.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ class int:
273273
def __index__(self) -> int: ...
274274

275275
class float:
276+
"""Get a float from a number or a string.
277+
"""
276278
def __new__(
277279
cls: Type[_T], x: SupportsFloat | SupportsIndex | str | bytes | bytearray = ...
278280
) -> _T:
@@ -356,6 +358,8 @@ class complex:
356358
def __bool__(self) -> bool: ...
357359

358360
class str(Sequence[str]):
361+
"""Get a string version of an object or new empty string.
362+
"""
359363
@overload
360364
def __new__(cls: Type[_T], object: object = "") -> _T:
361365
"""Get a string version of an object.
@@ -855,6 +859,8 @@ class frozenset(AbstractSet[_T_co], Generic[_T_co]):
855859
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
856860

857861
class list(MutableSequence[_T], Generic[_T]):
862+
"""The list data type
863+
"""
858864
@overload
859865
def __init__(self) -> None: ...
860866
@overload

0 commit comments

Comments
 (0)