What is xrange?

Chris Angelico rosuav at gmail.com
Sun Jul 31 02:10:46 CEST 2011


On Sun, Jul 31, 2011 at 1:06 AM, Dennis Lee Bieber
<wlfraed at ix.netcom.com> wrote:
>        Ah, but what did they change range() into -- I seem to recall
> reading the Python 3.x turned the regular range() into something else...
> (from Python <3.x returning a full list)
>

xrange got renamed to range, as I understand it.

ChrisA



More information about the Python-list mailing list