Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A pure-Python implementation of the xrange builtin

tree: 3eb7601bad

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 distribute_setup.py
Octocat-spinner-32 setup.cfg
Octocat-spinner-32 setup.py
Octocat-spinner-32 test_xrange.py
Octocat-spinner-32 xrange.py
README.md

xrange.py

A pure-Python implementation of Python 2.7's xrange built-in, with some features backported from the Python 3.x range built-in (which replaced xrange) in that version.

There is no good reason you should use this in your code, its purpose was to document and describe the behavior of the xrange or range built-ins, as well as that of objects implementing the Sequence protocol in general.

Read more at https://late.am/post/2012/06/18/what-the-heck-is-an-xrange

Something went wrong with that request. Please try again.