From 9852af1a19d5f0d511c00f6bef645d7302f57bb0 Mon Sep 17 00:00:00 2001 From: Daniel Strobusch <1847260+dastrobu@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:21:22 +0100 Subject: [PATCH] fix "shape" docstring. (#623) --- python/src/array.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/array.cpp b/python/src/array.cpp index 9e2f1e923..7a1083c7f 100644 --- a/python/src/array.cpp +++ b/python/src/array.cpp @@ -679,7 +679,7 @@ void init_array(py::module_& m) { "shape", [](const array& a) { return py::tuple(py::cast(a.shape())); }, R"pbdoc( - The shape of the array as a Python list. + The shape of the array as a Python tuple. Returns: tuple(int): A tuple containing the sizes of each dimension.