Files
openide/python/testData/quickdoc/InheritedMethod.py
Mikhail Golubev ca372eb8ca PY-29717 Fix docstring inheritance for constructors and local classes
Also, add more tests on this feature in general.
2018-06-09 15:59:37 +03:00

13 lines
162 B
Python

# copied doc of inherited method
class A:
def foo(self):
"Doc from A.foo."
pass
class B(A):
def foo(self):
return None
b = B()
b.<the_ref>foo()