summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-05-15 17:11:06 +0200
committerSebastian Berg <sebastianb@nvidia.com>2023-05-15 17:11:06 +0200
commit626d32fc47a9803e706168ea2d72d3584a4696bd (patch)
tree6f67dfb195eaac7bfdd197a7c1b2d2623a9eca9b /numpy/core/src
parent21602a8b1673a7b468d032ef19c20c53ac15c0b9 (diff)
downloadnumpy-626d32fc47a9803e706168ea2d72d3584a4696bd.tar.gz
MAINT: Address Marten's review
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarray/arrayobject.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/multiarray/arrayobject.h b/numpy/core/src/multiarray/arrayobject.h
index d9900439c..55ec92463 100644
--- a/numpy/core/src/multiarray/arrayobject.h
+++ b/numpy/core/src/multiarray/arrayobject.h
@@ -41,10 +41,10 @@ static const int NPY_ARRAY_WAS_PYTHON_INT = (1 << 30);
static const int NPY_ARRAY_WAS_PYTHON_FLOAT = (1 << 29);
static const int NPY_ARRAY_WAS_PYTHON_COMPLEX = (1 << 28);
/*
- * Mark that this was a huge int and the array needed replace (no re-use).
- * This flag is only used in the ufunc machinery where it is tricky to cover
- * correct all type resolution paths where `np.array(large_integer)` returns
- * an object array.
+ * Mark that this was a huge int which was turned into an object array (or
+ * unsigned/non-default integer array), but then replaced by a temporary
+ * array for further processing. This flag is only in the ufunc machinery
+ * where it is tricky to cover correctly all type resolution paths.
*/
static const int NPY_ARRAY_WAS_INT_AND_REPLACED = (1 << 27);
static const int NPY_ARRAY_WAS_PYTHON_LITERAL = (1 << 30 | 1 << 29 | 1 << 28);