Trees | Index | Help |
|
---|
Module __builtin__ :: Class xrange |
|
object
--+
|
xrange
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.Method Summary | |
---|---|
x.__getattribute__('name') <==> x.name | |
x.__getitem__(y) <==> x[y] | |
x.__iter__() <==> iter(x) | |
x.__len__() <==> len(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
Returns a reverse iterator. | |
Inherited from object :
__init__ ,
__delattr__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|
Method Details |
---|
__getattribute__(...)x.__getattribute__('name') <==> x.name
|
__getitem__(x,
y)
x.__getitem__(y) <==> x[y]
|
__iter__(x)x.__iter__() <==> iter(x)
|
__len__(x)
x.__len__() <==> len(x)
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__repr__(x)
x.__repr__() <==> repr(x)
|
__reversed__(...)Returns a reverse iterator. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 | http://epydoc.sf.net |