Skip to content

Commit 4301861

Browse files
antonwolfyclaude
andcommitted
Use :func: role for function cross-references
Change :obj: to :func: for function references in See Also sections to be more semantically correct according to Sphinx documentation conventions. Updated 5 function cross-references in scipy.linalg._decomp_lu module. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b9a9f42 commit 4301861

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

dpnp/scipy/linalg/_decomp_lu.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ def lu(
138138
139139
See Also
140140
--------
141-
:obj:`dpnp.scipy.linalg.lu_factor` : LU factorize a matrix
142-
(compact representation).
143-
:obj:`dpnp.scipy.linalg.lu_solve` : Solve an equation system using
144-
the LU factorization of a matrix.
141+
:func:`dpnp.scipy.linalg.lu_factor` : LU factorize a matrix
142+
(compact representation).
143+
:func:`dpnp.scipy.linalg.lu_solve` : Solve an equation system using
144+
the LU factorization of a matrix.
145145
146146
Examples
147147
--------
@@ -240,8 +240,8 @@ def lu_factor(a, overwrite_a=False, check_finite=True):
240240
241241
See Also
242242
--------
243-
:obj:`dpnp.scipy.linalg.lu_solve` : Solve an equation system using
244-
the LU factorization of `a` matrix.
243+
:func:`dpnp.scipy.linalg.lu_solve` : Solve an equation system using
244+
the LU factorization of `a` matrix.
245245
246246
Examples
247247
--------
@@ -309,7 +309,7 @@ def lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True):
309309
310310
See Also
311311
--------
312-
:obj:`dpnp.scipy.linalg.lu_factor` : LU factorize a matrix.
312+
:func:`dpnp.scipy.linalg.lu_factor` : LU factorize a matrix.
313313
314314
Examples
315315
--------

0 commit comments

Comments
 (0)