Update PyDocumentationBuilder to use type evaluation context while resolving docstring owner.

This commit is contained in:
Semyon Proshev
2017-06-20 13:35:08 +03:00
parent 804354727e
commit dbff481450
4 changed files with 17 additions and 9 deletions
@@ -0,0 +1 @@
<html><body><small>Assigned to <code>c1</code><br></small><code><small>class <a href="psi_element://#class#">list</a>()</small><br><br>def <b>count</b>(self,&nbsp;object:&nbsp;_T)<br>Inferred&nbsp;type:&nbsp;(self:&nbsp;<a href="psi_element://#typename#list">list</a>,&nbsp;object:&nbsp;TypeVar('_T'))&nbsp;-&gt;&nbsp;<a href="psi_element://#typename#int">int</a><br><br>L.count(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value&nbsp;</code></body></html>