Files
openide/python/testData/quickdoc/NumPyOnesDoc.html
Mikhail Golubev d84a93525e PY-31033 Render parameter default values in Quick Documentation
At the moment we render them "as is" only escaping their text
similarly to how it's done for TypeScript, not trimming it
to the first line as in case of target expression initializers.
2018-08-07 13:04:06 +03:00

3 lines
427 B
HTML

def ones(shape: Union[<a href="psi_element://#typename#int">int</a>,&nbsp;Iterable[<a href="psi_element://#typename#int">int</a>]], dtype: Optional[<a href="psi_element://#typename#object">object</a>] = None, order: Optional[<a href="psi_element://#typename#str">str</a>] = &#39;C&#39;) -&gt; <a href="psi_element://#typename#ndarray">ndarray</a>
**Test docstring**
Return a new array of given shape and type, filled with ones.