This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients docs@python, eli.bendersky, eric.araujo, ezio.melotti, rhettinger, tenuki, terry.reedy
Date 2011-05-21.10:12:39
SpamBayes Score 3.6850909e-06
Marked as misclassified No
Message-id <1305972760.26.0.61785399458.issue12003@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-05-21 10:12:40eli.benderskysetrecipients: + eli.bendersky, rhettinger, terry.reedy, ezio.melotti, eric.araujo, tenuki, docs@python
2011-05-21 10:12:40eli.benderskysetmessageid: <1305972760.26.0.61785399458.issue12003@psf.upfronthosting.co.za>
2011-05-21 10:12:39eli.benderskylinkissue12003 messages
2011-05-21 10:12:39eli.benderskycreate