docs(numpy): drop duplicated ndim (#5119)

This commit is contained in:
nobkd 2024-05-06 18:42:05 +02:00 committed by GitHub
parent a9256a6d25
commit 6497b3f2f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -378,8 +378,6 @@ uses of ``py::array``:
- ``.itemsize()`` returns the size of an item in bytes, i.e. ``sizeof(T)``.
- ``.ndim()`` returns the number of dimensions.
- ``.shape(n)`` returns the size of dimension ``n``
- ``.size()`` returns the total number of elements (i.e. the product of the shapes).