I have a base class those type is Boost.Python.class
as it is a wrapper to a C++ class in a C++ library. I inherit from it, and want to call the base class initiator method like so:
class Child(Parent):
def __init__(self):
super(Child, self).__init__()
In addition, the Parent
class has a method called start
which clearly the child should be able to call. However, if I run pylint, I get these errors:
E: 21, 4: Use of super on an old style class (super-on-old-class)
E: 39, 8: Instance of 'Client' has no 'start' member (no-member)
It is something I am doing wrong, and if so what?
Is it a bug in pylint?
Note that using this answer, the function given seems to think that Client is a user defined and a new class. Clearly, if I run the full code, super
and start
are correctly called.