internal.types.range

Source code: internal/types/range.seq

class internal.types.range.range

Magic methods:

__new__(start: int, stop: int, step: int)
__new__(start: int, stop: int)
__new__(stop: int)
__getitem__(idx: int)
__getitem__(s: Slice)
__contains__(idx: int)
__iter__()
__len__()
__bool__()
__reversed__()
__str__()

Methods:

index(n: int)
count(n: int)