Forgetting "()" when calling methods
km-news1 at onlinehome.de
Sat Apr 26 21:03:16 CEST 2003
On Sat, 26 Apr 2003 16:42:33 GMT, Alex Martelli <aleax at aleax.it> wrote:
> as you proceed to learn that "to call callables, you need to CALL them"
You misunderstand me (and the OP, i think). It's not a problem of
understanding, it's a simple type error or a "false remember" (or a
"Flüchtigkeitsfehler" in German, i don't know a translation).
Programmers sometimes make simple mistakes ;-)
from the OP:
PyChecker could (optional?) warn in such cases if isGreen is a function.
Gruß - regards Klaus :-)
More information about the Python-list