summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authorNathan Goldbaum <nathan.goldbaum@gmail.com>2023-01-25 10:46:48 -0700
committerGitHub <noreply@github.com>2023-01-25 09:46:48 -0800
commitd85e06b6995ff645178afb9f7b9aa8435c10f417 (patch)
tree2ae279d9c264d3db32aebf03d405d8ea7119652b /doc/source/reference/c-api
parent9caf1845e2f1e0b71c23b6f0bb4312b96c35ba43 (diff)
downloadnumpy-d85e06b6995ff645178afb9f7b9aa8435c10f417.tar.gz
DOC: fix typo in C API reference (#23092)
sizof -> sizeof
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r--doc/source/reference/c-api/types-and-structures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/c-api/types-and-structures.rst b/doc/source/reference/c-api/types-and-structures.rst
index 34437bd30..66bc04f05 100644
--- a/doc/source/reference/c-api/types-and-structures.rst
+++ b/doc/source/reference/c-api/types-and-structures.rst
@@ -225,7 +225,7 @@ PyArrayDescr_Type and PyArray_Descr
- Never declare a non-pointer instance of the struct
- Never perform pointer arithmetic
- - Never use ``sizof(PyArray_Descr)``
+ - Never use ``sizeof(PyArray_Descr)``
It has the following structure: