Files
openide/python/testData/quickdoc/PropNewDocstringOfGetter.py
Mikhail Golubev 1bc66f1853 PY-29717 Choose property's definition and docstring to display
applying with the following precedence rules:
Docstring: doc parameter of property() call, docstring of the actual
accessor, docstring of the getter.
Definition: actual accessor, getter.
2018-06-09 15:59:36 +03:00

13 lines
157 B
Python

class C:
@property
def m(self):
"""
Foo
"""
pass
@m.setter
def m(self, x):
pass
C().<the_ref>m = 42