[Python-3000] range() issues

Georg Brandl g.brandl at gmx.net
Sat Apr 26 22:34:54 CEST 2008


Benjamin Peterson schrieb:
> On Sat, Apr 26, 2008 at 1:49 PM, Facundo Batista
> <facundobatista at gmail.com> wrote:
>>  Which should the range() definition be, in your words?
> 
> "A set of integers from start to stop skipping step."
> 
> [ ... ]

"Set" is definitely misleading -- it has no ordering.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-3000 mailing list