Re: [Python-projects] [W0621] Redefining name from outer scope

2009-11-30 Thread Alexandre Fayolle
On Sunday 29 November 2009 17:53:43 Vincent Legoll wrote: > Hello, > > pylint is reporting the following warning: > > test_pylint_redefine.py:6: [W0621, Abc.__init__] Redefining name > 'param' from outer scope (line 9) > > for the attached python code > > ### > class Abc(obj

[Python-projects] [W0621] Redefining name from outer scope

2009-11-29 Thread Vincent Legoll
Hello, pylint is reporting the following warning: test_pylint_redefine.py:6: [W0621, Abc.__init__] Redefining name 'param' from outer scope (line 9) for the attached python code ### class Abc(object): def __init__(self, param): pass param = None ###