Files
openide/python/testData/quickdoc/PropOldDocstringOfGetter.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

12 lines
173 B
Python

class C:
def _get(self):
"""Getter."""
return 42
def _set(self, x):
pass
attr = property(fget=_get, fset=_set)
C().at<the_ref>tr = 42