Top-rated recipes tagged "xrange"http://code.activestate.com/recipes/tags/xrange/top/2012-03-13T16:13:16-07:00ActiveState Code Recipesextending xrange to support slicing and indexing (Python)
2012-03-13T16:13:16-07:00Garretthttp://code.activestate.com/recipes/users/4181290/http://code.activestate.com/recipes/578070-extending-xrange-to-support-slicing-and-indexing/
<p style="color: grey">
Python
recipe 578070
by <a href="/recipes/users/4181290/">Garrett</a>
(<a href="/recipes/tags/object/">object</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/xrange/">xrange</a>).
</p>
<p>an object which extends the xrange object to support slicing and indexing (simple)</p>