Author mm
Recipients flox, georg.brandl, mm, rhettinger
Date 2010-02-20.17:55:20
SpamBayes Score 0.000506496
Marked as misclassified No
Message-id <1266688522.51.0.730151585926.issue7721@psf.upfronthosting.co.za>
In-reply-to
Content
So could we replace

"If a larger range is needed, an alternate version can be crafted using the itertools module: islice(count(start, step), (stop-start+step-1)//step)."

by

"If a larger range is needed, an alternate version can be crafted using the itertools module: takewhile(lambda x: x<stop, (start+i*step for i in count()))."
History
Date User Action Args
2010-02-20 17:55:23mmsetrecipients: + mm, georg.brandl, rhettinger, flox
2010-02-20 17:55:22mmsetmessageid: <1266688522.51.0.730151585926.issue7721@psf.upfronthosting.co.za>
2010-02-20 17:55:21mmlinkissue7721 messages
2010-02-20 17:55:21mmcreate