Files
openide/python/testData/quickdoc/ClassDocumentationTakenFromConstructor.py
Mikhail Golubev 1f7f9c496d PY-31074 Use constructor docstring in case a class lacks its own
Python Console generates declaration stubs where docstring for a class is moved
to its __init__. It's a somewhat add-hoc solution for the problem, we should
probably fix this controversial behavior of the debugger as well.
2018-08-13 14:58:36 +03:00

8 lines
111 B
Python

class MyClass:
def __init__(self):
"""
Constructor docstring
"""
My<the_ref>Class