Pylint Argument number differs from overridden method

Wanderer wanderer at dialup4less.com
Wed Mar 3 16:15:07 EST 2010


On Mar 3, 2:33 pm, Robert Kern <robert.k... at gmail.com> wrote:
> 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

Thanks I was just wondering if I was overlooking something about
inheritance.



More information about the Python-list mailing list