summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-06-09 16:10:40 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2022-06-15 11:42:02 -0700
commit5f8f18c7931054d7258e38d35b0f765208ef3014 (patch)
treeea66ddd9848b5b396ad251990945aa3c3ece971f /numpy/core/src
parent9a8dac017504fbcedb3e0dbd30804bd5522f6783 (diff)
downloadnumpy-5f8f18c7931054d7258e38d35b0f765208ef3014.tar.gz
STY: Minor tweaks/rewording
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarray/abstractdtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/abstractdtypes.h b/numpy/core/src/multiarray/abstractdtypes.h
index b3f547b64..6901ec213 100644
--- a/numpy/core/src/multiarray/abstractdtypes.h
+++ b/numpy/core/src/multiarray/abstractdtypes.h
@@ -41,7 +41,7 @@ npy_mark_tmp_array_if_pyscalar(
* Further, `np.float64` is a double subclass, so must reject it.
*/
if (PyLong_Check(obj)
- && (PyArray_ISINTEGER(arr) || PyArray_ISOBJECT(arr))) {
+ && (PyArray_ISINTEGER(arr) || PyArray_ISOBJECT(arr))) {
((PyArrayObject_fields *)arr)->flags |= NPY_ARRAY_WAS_PYTHON_INT;
if (dtype != NULL) {
Py_INCREF(&PyArray_PyIntAbstractDType);