RELEASED Python 2.3 (final)
Aahz
aahz at pythoncraft.com
Thu Jul 31 11:43:47 EDT 2003
In article <gryZ9MBVjPK$EwDP at jessikat.fsnet.co.uk>,
Robin Becker <robin at jessikat.fsnet.co.uk> wrote:
>
>1) SyntaxWarning: assignment to None
> eg for None, name in colorNamePairs:
> what is the preferred way to do this nowadays? It's fairly
> trivial to go through and change these to for notUsed, x in ....
> but is there a nicer way.
Some people use "_".
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
This is Python. We don't care much about theory, except where it intersects
with useful practice. --Aahz
More information about the Python-list
mailing list