Skip to content

Commit 37aa4d1

Browse files
committed
Add docsrtring for num argument
1 parent 08e6450 commit 37aa4d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dpnp/dpnp_iface_arraycreation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,6 +2704,8 @@ def linspace(
27042704
of tuples, tuples of lists, and ndarrays. If `endpoint` is set to
27052705
``False`` the sequence consists of all but the last of ``num + 1``
27062706
evenly spaced samples, so that `stop` is excluded.
2707+
num : int
2708+
Number of samples. Must have a nonnegative value.
27072709
dtype : {None, str, dtype object}, optional
27082710
The desired dtype for the array. If not given, a default dtype will be
27092711
used that can represent the values (by considering Promotion Type Rule

0 commit comments

Comments
 (0)