mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
PY-29717 Display variable type inline with their name in PEP 526 format
Thanks to it we also started to display types for class and instance attributes. Also, moved reassignment chain to sections part of Quick Documentation and display it only when it actually makes sense.
This commit is contained in:
@@ -1 +1 @@
|
||||
<html><body><small>Assigned to <code>c1</code><br></small><div class='definition'><pre><small>class <a href="psi_element://#class#">list</a>(<a href="psi_element://#typename#typing.MutableSequence">MutableSequence</a>[_T], Generic[_T])</small><br><br>def <b>count</b>(self: <a href="psi_element://#typename#list">list</a>, object: _T) -> <a href="psi_element://#typename#int">int</a></pre></div><div class='content'>L.count(value) -> integer -- return number of occurrences of value </div></body></html>
|
||||
<html><body><div class='definition'><pre><small>class <a href="psi_element://#class#">list</a>(<a href="psi_element://#typename#typing.MutableSequence">MutableSequence</a>[_T], Generic[_T])</small><br><br>def <b>count</b>(self: <a href="psi_element://#typename#list">list</a>, object: _T) -> <a href="psi_element://#typename#int">int</a></pre></div><div class='content'>L.count(value) -> integer -- return number of occurrences of value </div><table class='sections'><tr><td valign='top' class='section'><p>Assigned to</td><td valign='top'><code>c1</code></td></table></body></html>
|
||||
Reference in New Issue
Block a user