Skip to content

Commit

Permalink
Add proper comment to HPySlice_New in public_api.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Du Toit Spies committed Jun 6, 2024
1 parent 7dc8305 commit 11e634d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hpy/tools/autogen/public_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,15 @@ HPy HPyTuple_FromArray(HPyContext *ctx, const HPy items[], HPy_ssize_t n);
*
* :param ctx:
* The execution context.
*
* :param start:
* A pointer to a variable where to write the unpacked slice start. Must not
* be ``NULL``.
* :param end:
* A pointer to a variable where to write the unpacked slice end. Must not
* :param step:
* A pointer to a variable where to write the unpacked slice step. Must not
* be ``NULL``.
*
* :returns:
* A handle to the new and empty Python slice object or ``HPy_NULL`` in case
Expand Down

0 comments on commit 11e634d

Please sign in to comment.