Skip to content

Commit

Permalink
Do not return bool from version_feature()
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Aug 12, 2024
1 parent 24c0569 commit 55a97f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_imaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -4417,8 +4417,8 @@ setup_module(PyObject *m) {
#elif defined(__NEON__)
PyModule_AddStringConstant(m, "acceleration", "neon");
#else
Py_INCREF(Py_False);
PyModule_AddObject(m, "acceleration", Py_False);
Py_INCREF(Py_None);
PyModule_AddObject(m, "acceleration", Py_None);

have_acceleration = Py_False;
#endif
Expand Down

0 comments on commit 55a97f9

Please sign in to comment.