mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 12:17:12 +07:00
PY-33341: Now we render the “Attributes” section in the class documentation, it also allows to describe inherited attributes. (Previously we didn’t render it at all) PY-56416: In the attribute documentation popup we are able to render attribute description from class docstring. (Previously we took documentation only explicitly from attribute one-line docstring) PY-33341: We render the “Parameters” section in the class documentation for init parameters, described in the class docstring. (Previously user couldn't use class docstring to describe init parameters) PY-28900: For the init parameter documentation we take the description from the class docstring if init doesn't have its own docstring. (Previously we took parameter description only from init docstring) GitOrigin-RevId: d67bf49c72cf7a3634805a6e310c943f1ea848d1
4 lines
885 B
HTML
4 lines
885 B
HTML
<html><body><div class='definition'><pre><a href="psi_element://#typename#ArgsDescriptionFromClassDocstringGoogle.Parent">ArgsDescriptionFromClassDocstringGoogle.Parent</a><br>def <b>__init__</b>(self,
|
|
p1: Any,
|
|
p2: Any,
|
|
**kwargs: Any) -> None</pre></div><div class='content'>Unittest placeholder</div><table class='sections'><tr><td valign='top' class='section'><p>Params:</td><td valign='top'><p><code>p1</code> – p1 doc from class</p><p><code>p2</code> – p2 doc from class</p></td><tr><td valign='top' class='section'><p>Keyword args:</td><td valign='top'><p><code>k</code> – k doc from class</p></td><tr><td valign='top' class='section'><p>Documentation is copied from:</td><td valign='top'><code><a href="psi_element://#typename#ArgsDescriptionFromClassDocstringGoogle.Parent">Parent</a></code></td></table></body></html> |