Skip to content

Commit b2a567e

Browse files
Fix docstring format
Co-authored-by: Lucas Colley <[email protected]>
1 parent 8d5af47 commit b2a567e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/array_api_extra/_delegation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,9 @@ def partition(
529529
the k-th element in the output array is undefined.
530530
531531
Notes:
532-
If `xp` implements `partition` or an equivalent method (e.g. topk for torch),
532+
If `xp` implements ``partition`` or an equivalent function (e.g. ``topk`` for torch),
533533
complexity will likely be O(n).
534-
If not, this function simply calls `xp.sort` and complexity is O(n log n).
534+
If not, this function simply calls ``xp.sort`` and complexity is O(n log n).
535535
536536
Parameters
537537
----------

0 commit comments

Comments
 (0)