diff options
| author | Sebastian Berg <sebastianb@nvidia.com> | 2022-11-02 13:24:10 +0100 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-20 15:28:48 +0100 |
| commit | 336bb64f2aedc8eaf3a52975b99e14958068618d (patch) | |
| tree | 17c43a0323c3e60320692159a4d494ca2cf2800e /numpy/core/include | |
| parent | 53451c79ba3916d55235da05a40fa3271e06f4e6 (diff) | |
| download | numpy-336bb64f2aedc8eaf3a52975b99e14958068618d.tar.gz | |
DOC,MAINT: Address "simple" review comments by Marten
Diffstat (limited to 'numpy/core/include')
| -rw-r--r-- | numpy/core/include/numpy/experimental_dtype_api.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/core/include/numpy/experimental_dtype_api.h b/numpy/core/include/numpy/experimental_dtype_api.h index 48941baec..05fb1d936 100644 --- a/numpy/core/include/numpy/experimental_dtype_api.h +++ b/numpy/core/include/numpy/experimental_dtype_api.h @@ -342,8 +342,9 @@ typedef enum { * If an identity exists, should set the `NPY_METH_ITEM_IS_IDENTITY`, normally * the `NPY_METH_ITEM_IS_DEFAULT` should also be set, but it is distinct. * By default NumPy provides a "default" for `object` dtype, but does not use - * it as an identity. - * The `NPY_METH_IS_REORDERABLE` flag should be set if the operatio is + * it as an identity (this is e.g. to allows reducing even Python strings + * for `np.sum()` while the empty sum returns 0). + * The `NPY_METH_IS_REORDERABLE` flag should be set if the operation is * reorderable. * * NOTE: `item` can be `NULL` when a user passed a custom initial value, in |
