PyRange[T] = ref object start*, stop*: T ## `start`, `stop`, `step` are exported since Python 3.3 step*, len: int
func `$`[T](rng: PyRange[T]): string
func `[]`[T](x: PyRange[T]; y: Natural): T {.inline.}
func contains[T](x: PyRange[T]; y: T): bool
func count[T](r: PyRange[T]; x: T): int
func index[T](r: PyRange[T]; x: T): int
func max[T](x: PyRange[T]): T {.inline.}
func min[T](x: PyRange[T]): T {.inline.}
func range[T: SomeInteger](start, stop, step: T): PyRange[T]
func repr[T](rng: PyRange[T]): string
iterator items[T](rng: PyRange[T]): T
template len[T](rng: PyRange[T]): int
template range[T: SomeInteger](start, stop: T): PyRange[T]
template range[T: SomeInteger](stop: T): PyRange[T]