mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-19 08:41:59 +03:00
Do not return bool from version_feature()
This commit is contained in:
parent
24c0569f8d
commit
55a97f9ddf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user