class

PyRange

Inherits Iterator < Enumerable < Reference < Object

Constructors

new(start : Int32, stop : Int32, step : Int32 = 1)
Source

Class methods

range(start : Int32, stop : Int32, step : Int32 = 1)

Two/three argument form

Source
range(stop : Int32)

One-argument form (stop-value)

Source

Instance methods

next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

Source