Skip to content

Commit

Permalink
fix document stub
Browse files Browse the repository at this point in the history
  • Loading branch information
v923z committed Oct 9, 2024
1 parent ccfb483 commit 05b7b2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/numpy/create.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,8 @@ MP_DEFINE_CONST_FUN_OBJ_KW(create_ones_obj, 0, create_ones);
//| a: ulab.numpy.ndarray,
//| indices: _ArrayLike,
//| axis: Optional[int] = None,
//| out: ulab.numpy.ndarray,
//| mode: ) -> ulab.numpy.ndarray:
//| out: Optional[ulab.numpy.ndarray] = None,
//| mode: Optional[str] = None) -> ulab.numpy.ndarray:
//| """
//| .. param: a
//| The source array.
Expand All @@ -800,6 +800,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(create_ones_obj, 0, create_ones);
//| `clip` mode means that all indices that are too large are replaced by the
//| index that addresses the last element along that axis. Note that this disables
//| indexing with negative numbers.
//|
//| Return a new array."""
//| ...
//|
Expand Down

0 comments on commit 05b7b2e

Please sign in to comment.