Replaced all manual None returns with Py_RETURN_NONE.