This commit is contained in:
Alex Waygood
2025-04-27 17:45:57 +01:00
parent 25a678f76b
commit 636869390f
2 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
from typing import Self, Callable, Any, Iterator
from typing import Self, Callable, Any, Iterator, Sequence, SupportsIndex
class range:
def __iter__(self) -> Iterator[int]: ...
@@ -17,7 +17,8 @@ class int:
def __pow__(self, other: int, /) -> int: ...
class bool(int): ...
class str: ...
class str(Sequence[str]):
def count(self, sub: str, start: SupportsIndex | None = ..., end: SupportsIndex | None = ..., /) -> int: ...
class tuple:
def __len__(self) -> int: ...

View File

@@ -1 +1,4 @@
class ModuleType: ...
class ModuleType:
__doc__: str | None
class NoneType: ...