what does 'for _ in range()' mean?

Erik Max Francis max at alcyone.com
Wed Jul 28 06:34:59 EDT 2004


John Roth wrote:

> What convention? I have to agree with a couple
> of other posters; I've never heard of it before.
> 
> If it really is a convention, it would be nice to have it
> documented somewhere (like the single underscore
> in front of a variable means "weak internal use").
> Somewhere is most likely PEP 8 - the Python
> Style Guide.

A convention doesn't need to have official sanction to be a convention.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ But you're not going to be there tomorrow. And it's all about
    tomorrow. -- Montgomery Brogan



More information about the Python-list mailing list