Skip to content

Commit 37eb75a

Browse files
committed
DOC: Update comment to mention new function name
1 parent fbd9a3b commit 37eb75a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/src/common/get_attr_string.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ _is_basic_python_type(PyTypeObject *tp)
4545
* Assumes that the special method is a numpy-specific one, so does not look
4646
* at builtin types. It does check base ndarray and numpy scalar types.
4747
*
48-
* In future, could be made more like _Py_LookupSpecial
48+
* It may make sense to just replace this with `PyObject_GetOptionalAttr`.
4949
*/
5050
static inline int
5151
PyArray_LookupSpecial(

0 commit comments

Comments
 (0)