lallous a écrit :
Hello,Learning Python from the help file and online resources can leave one with many gaps. Can someone comment on the following:
(snip code)
Why in test1() when it uses the class variable func_tbl we still need to pass self, but in test2() we don't ? What is the difference between the reference in 'F' and 'func_tbl' ?
Answer here: http://wiki.python.org/moin/FromFunctionToMethod -- http://mail.python.org/mailman/listinfo/python-list