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

Dan Bishop danb_83 at yahoo.com
Thu Jul 29 03:55:53 EDT 2004


Christopher T King <squirrel at WPI.EDU> wrote in message news:<Pine.LNX.4.44.0407281052180.23650-100000 at ccc3.wpi.edu>...
> On Wed, 28 Jul 2004, Skip Montanaro wrote:
> 
> >     Peter> _DEFAULT_UNUSED_LIST = [ '_', 'empty', 'unused', 'dummy', ]
> > 
> > One might consider adding 'i' to that list.  If nothing else, it would avoid
> > a bunch of warnings...  ;-)
> 
> But then we'd have to add a, t, n, and x, too ;)

In other languages, I've used "fcrt" as a dummy variable name, to
indicate that is only named because the Friendly Compiler Requires
This.



More information about the Python-list mailing list