8000 API: Remove NpyIter_IsScalar from external API · 87/numpy@cfecada · GitHub
[go: up one dir, main page]

Skip to content

Commit cfecada

Browse files
committed
API: Remove NpyIter_IsScalar from external API
1 parent 71c7bab commit cfecada

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

numpy/core/code_generators/numpy_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@
328328
'PyDataMem_FREE': 289,
329329
'PyDataMem_RENEW': 290,
330330
'PyDataMem_SetEventHook': 291,
331-
'NpyIter_IsScalar': 292,
332331
}
333332

334333
ufunc_types_api = {

numpy/core/src/multiarray/nditer_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ NpyIter_IsGrowInner(NpyIter *iter)
844844
return (NIT_ITFLAGS(iter)&NPY_ITFLAG_GROWINNER) != 0;
845845
}
846846

847-
/*NUMPY_API
847+
/*
848848
* Whether the iterator output is scalar
849849
*/
850850
NPY_NO_EXPORT npy_bool

0 commit comments

Comments
 (0)
0