unused args in GUI callbacks: pychecker
Erik Max Francis
max at alcyone.com
Tue Apr 22 23:14:44 CEST 2003
george young wrote:
> So, is there a way to define a python(member) function and tell
> python to ignore particular arguments? [so that pychecker could
> ignor them too...]
A quick check of the pychecker help (--help) indicates that the
-E/--unusednames option is what you want. By default it will already
ignore arguments named _, empty, unused, and dummy.
> I recall that C++ had a way to tell the compiler this.
C++ is just the language, so it was just a particular compiler that you
are referring to with that feature.
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ There are defeats more triumphant than victories.
Discord / http://www.alcyone.com/pyos/discord/
Convert dates from Gregorian to Discordian.
More information about the Python-list