Pylint Argument number differs from overridden method

Robert Kern robert.kern at gmail.com
Wed Mar 3 14:33:43 EST 2010


On 2010-03-03 11:39 AM, Wanderer wrote:
> Pylint W0221 gives the warning
> Argument number differs from overridden method.
>
> Why is this a problem? I'm overriding the method to add additional
> functionality.

There are exceptions to every guideline. Doing this could easily be a mistake, 
so it's one of the many things that Pylint checks for. Silence the warning if 
you like.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list