Skip to content

Commit 2dee73e

Browse files
committed
[DOC] Correction of references.
1 parent 30e1712 commit 2dee73e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/blosc2/ndarray.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import builtins
1212
import inspect
1313
import math
14-
import warnings
1514
import tempfile
15+
import warnings
1616
from collections import OrderedDict, namedtuple
1717
from functools import reduce
1818
from itertools import product
@@ -3905,7 +3905,7 @@ def permute_dims(arr: NDArray, axes: tuple[int] | list[int] | None = None, **kwa
39053905
39063906
Returns
39073907
-------
3908-
out:: ref:`NDArray`
3908+
out: :ref:`NDArray`
39093909
A Blosc2: ref:`NDArray` with axes transposed.
39103910
39113911
Raises
@@ -4002,14 +4002,14 @@ def transpose(x, **kwargs: Any) -> NDArray:
40024002
40034003
Parameters
40044004
----------
4005-
x:: ref:`NDArray`
4005+
x: :ref:`NDArray`
40064006
The input array.
40074007
kwargs: Any, optional
40084008
Keyword arguments that are supported by the :func:`empty` constructor.
40094009
40104010
Returns
40114011
-------
4012-
out:: ref:`NDArray`
4012+
out: :ref:`NDArray`
40134013
The Blosc2 NDArray with axes transposed.
40144014
40154015
References
@@ -4039,13 +4039,13 @@ def matrix_transpose(arr: NDArray, **kwargs: Any) -> NDArray:
40394039
40404040
Parameters
40414041
----------
4042-
arr:: ref:`NDArray`
4042+
arr: :ref:`NDArray`
40434043
The input NDArray having shape ``(..., M, N)`` and whose innermost two dimensions form
40444044
``MxN`` matrices.
40454045
40464046
Returns
40474047
-------
4048-
out:: ref:`NDArray`
4048+
out: :ref:`NDArray`
40494049
A new: ref:`NDArray` containing the transpose for each matrix and having shape
40504050
``(..., N, M)``.
40514051
"""

0 commit comments

Comments
 (0)