to pass self or not to pass self
bruno.42.desthuilliers at websiteburo.invalid
Tue Mar 16 10:04:10 CET 2010
lallous a écrit :
> Learning Python from the help file and online resources can leave one
> with many gaps. Can someone comment on the following:
> 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' ?
More information about the Python-list