Class xrange
object --+
|
xrange
xrange(stop) -> xrange object xrange(start, stop[, step]) ->
xrange object
Like range(), but instead of returning a list, returns an object that
generates the numbers in the range on demand. For looping, this is
slightly faster than range() and more memory efficient.
x.__getattribute__('name') <==> x.name
- Overrides:
object.__getattribute__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
helper for pickle
- Overrides:
object.__reduce__
- (inherited documentation)
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|