summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorNathan Goldbaum <nathan.goldbaum@gmail.com>2023-04-14 12:44:42 -0600
committerNathan Goldbaum <nathan.goldbaum@gmail.com>2023-04-18 11:03:54 -0600
commit8a428fdef4933edc0a74528bf51fedd3aab3f7c1 (patch)
tree3fe6fc6affd25ddbf48c3db5b4a98a9191d3bc84 /numpy
parent6073588dd73809a60819d71b9527194195f73f08 (diff)
downloadnumpy-8a428fdef4933edc0a74528bf51fedd3aab3f7c1.tar.gz
MAINT: correct typos in dtype API documentation comments
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/_dtype_api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/include/numpy/_dtype_api.h b/numpy/core/include/numpy/_dtype_api.h
index 2f801eace..9a2e50890 100644
--- a/numpy/core/include/numpy/_dtype_api.h
+++ b/numpy/core/include/numpy/_dtype_api.h
@@ -12,7 +12,7 @@ struct PyArrayMethodObject_tag;
/*
* Largely opaque struct for DType classes (i.e. metaclass instances).
* The internal definition is currently in `ndarraytypes.h` (export is a bit
- * more complex because `PyArray_Descr` is a DTypeMeta internall but not
+ * more complex because `PyArray_Descr` is a DTypeMeta internally but not
* externally).
*/
#if !(defined(NPY_INTERNAL_BUILD) && NPY_INTERNAL_BUILD)
@@ -258,13 +258,13 @@ typedef int translate_loop_descrs_func(int nin, int nout,
* element of a single array.
*
* Currently this is only used for array clearing, via the
- * NPY_DT_get_clear_loop, api hook, particularly for arrays storing embedded
+ * NPY_DT_get_clear_loop api hook, particularly for arrays storing embedded
* references to python objects or heap-allocated data. If you define a dtype
* that uses embedded references, the NPY_ITEM_REFCOUNT flag must be set on the
* dtype instance.
*
* The `void *traverse_context` is passed in because we may need to pass in
- * Intepreter state or similar in the futurem, but we don't want to pass in
+ * Intepreter state or similar in the future, but we don't want to pass in
* a full context (with pointers to dtypes, method, caller which all make
* no sense for a traverse function).
*