is there any way pycharm can hint on inherited methods for code completion - Not an Issue anymore (problem in code typed def instead of class)

if I define a class

class Parent(object):

     def my_method:

          pass

class Child(Parent):

     pass

when writing code:

c= Child()

I want to get the code completion for my_method when typing

c.m

but I get nothing.

Am I missing something here?

Thanks

2 comments
Comment actions Permalink

Please provide a more complete code example on which the problem can be reproduced. PyCharm certainly does show inherited methods as completion variants in cases like the one you've posted.

0
Comment actions Permalink

Sorry found the issue with the code.

Thanks

0

Please sign in to leave a comment.