Skip to content

Commit dfc60f2

Browse files
Add placeholder class- and module-level docstrings
1 parent 58f7aca commit dfc60f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lang/en/typeshed/stdlib/builtins.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
"""Use builtin classes and functions
2+
"""
3+
14
import sys
25
import types
36
from _typeshed import (
@@ -122,6 +125,8 @@ class classmethod(object): # Special, only valid as a decorator.
122125
def __get__(self, obj: _T, type: Type[_T] | None = ...) -> Callable[..., Any]: ...
123126

124127
class type(object):
128+
"""The type class.
129+
"""
125130
__base__: type
126131
__bases__: Tuple[type, ...]
127132
__basicsize__: int
@@ -1074,6 +1079,8 @@ class enumerate(Iterator[Tuple[int, _T]], Generic[_T]):
10741079
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
10751080

10761081
class range(Sequence[int]):
1082+
""" The range class.
1083+
"""
10771084
start: int
10781085
stop: int
10791086
step: int

0 commit comments

Comments
 (0)