Skip to content

Commit

Permalink
Add placeholder class- and module-level docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Apr 26, 2024
1 parent 58f7aca commit dfc60f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lang/en/typeshed/stdlib/builtins.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""Use builtin classes and functions
"""

import sys
import types
from _typeshed import (
Expand Down Expand Up @@ -122,6 +125,8 @@ class classmethod(object): # Special, only valid as a decorator.
def __get__(self, obj: _T, type: Type[_T] | None = ...) -> Callable[..., Any]: ...

class type(object):
"""The type class.
"""
__base__: type
__bases__: Tuple[type, ...]
__basicsize__: int
Expand Down Expand Up @@ -1074,6 +1079,8 @@ class enumerate(Iterator[Tuple[int, _T]], Generic[_T]):
def __class_getitem__(cls, item: Any) -> GenericAlias: ...

class range(Sequence[int]):
""" The range class.
"""
start: int
stop: int
step: int
Expand Down

0 comments on commit dfc60f2

Please sign in to comment.