diff options
author | Nathan Goldbaum <nathan.goldbaum@gmail.com> | 2023-01-25 10:46:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 09:46:48 -0800 |
commit | d85e06b6995ff645178afb9f7b9aa8435c10f417 (patch) | |
tree | 2ae279d9c264d3db32aebf03d405d8ea7119652b /doc/source/reference/c-api | |
parent | 9caf1845e2f1e0b71c23b6f0bb4312b96c35ba43 (diff) | |
download | numpy-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.rst | 2 |
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: |