[docs] [issue12003] documentation: alternate version of xrange seems to fail.

Eli Bendersky report at bugs.python.org
Sat May 21 12:12:40 CEST 2011

Eli Bendersky <eliben at gmail.com> added the comment:

I think that if this note should stay in the docs at all, it should be as concise as possible, so I like Terry's -1+2*(step<0) option. I also tested it on a few more inputs and it works fine.

If there are no objections, I can commit it to python 2.7 docs in a couple of days.

nosy: +eli.bendersky

Python tracker <report at bugs.python.org>

More information about the docs mailing list