Hi. I'm sing the latest pylint (0.18.1), and for the following code: <--start--> def func1(): func1.cntr = 0
def internal_func(): print "%d" % func1.cntr func1.cntr += 1 internal_func() func1() <--end--> Pylint complains with the following errors: C: 1: Missing docstring C: 1:func1: Missing docstring C: 4:func1.internal_func: Missing docstring E: 5:func1.internal_func: Class 'func1' has no 'cntr' member E: 7:func1: Class 'func1' has no 'cntr' member W: 2:func1: Unused variable 'cntr' The two Errors are the unexpected ones... Thanks Dotan _______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects