Skip to content

Commit f50a15d

Browse files
authored
DOC: linalg.matrix_transpose: add alias note (numpy#28695)
* DOC: linalg.matrix_transpose: add alias note [skip azp] [skip cirrus]
1 parent 3989a6e commit f50a15d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

numpy/linalg/_linalg.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -3396,7 +3396,12 @@ def matrix_transpose(x, /):
33963396
return _core_matrix_transpose(x)
33973397

33983398

3399-
matrix_transpose.__doc__ = _core_matrix_transpose.__doc__
3399+
matrix_transpose.__doc__ = f"""{_core_matrix_transpose.__doc__}
3400+
3401+
Notes
3402+
-----
3403+
This function is an alias of `numpy.matrix_transpose`.
3404+
"""
34003405

34013406

34023407
# matrix_norm

0 commit comments

Comments
 (0)