mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
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.
3 lines
427 B
HTML
3 lines
427 B
HTML
def ones(shape: Union[<a href="psi_element://#typename#int">int</a>, 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>] = 'C') -> <a href="psi_element://#typename#ndarray">ndarray</a>
|
|
**Test docstring**
|
|
Return a new array of given shape and type, filled with ones. |