avoid C compiler warning about unused helper function in Py<3.4