range Failure?

Bengt Richter bokr at oz.net
Sun Mar 10 17:19:19 EST 2002


On Sun, 10 Mar 2002 11:07:18 -0500, "Colin J. Williams" <cjw at sympatico.ca> wrote:
[...]
>It might say:   
>
>     range([start= 0,] stop[, step= 1]) 

Still, the two optional []'s are not valid in all combinations,
(which is what you fix with your improved text ;-)
so maybe it should say something like:

     range([start= 0,] stop)          # where step defaults to 1, or
     range(start, stop [, step= 1])

Regards,
Bengt Richter




More information about the Python-list mailing list