We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
builtins
1 parent 2878050 commit a67c316Copy full SHA for a67c316
stdlib/builtins.pyi
@@ -660,6 +660,7 @@ class bytearray(MutableSequence[int], ByteString):
660
def __le__(self, __x: bytes) -> bool: ...
661
def __gt__(self, __x: bytes) -> bool: ...
662
def __ge__(self, __x: bytes) -> bool: ...
663
+ def __alloc__(self) -> int: ...
664
665
@final
666
class memoryview(Sized, Sequence[int]):
@@ -998,6 +999,7 @@ class property:
998
999
fget: Callable[[Any], Any] | None
1000
fset: Callable[[Any, Any], None] | None
1001
fdel: Callable[[Any], None] | None
1002
+ __isabstractmethod__: bool
1003
def __init__(
1004
self,
1005
fget: Callable[[Any], Any] | None = ...,
@@ -1420,6 +1422,7 @@ class reversed(Iterator[_T], Generic[_T]):
1420
1422
def __init__(self, __sequence: SupportsLenAndGetItem[_T]) -> None: ...
1421
1423
def __iter__(self: Self) -> Self: ...
1424
def __next__(self) -> _T: ...
1425
+ def __length_hint__(self) -> int: ...
1426
1427
def repr(__obj: object) -> str: ...
1428
@overload
0 commit comments