python3_sys
type ternaryfunc = unsafe extern fn(arg1: *mut PyObject, arg2: *mut PyObject, arg3: *mut PyObject) -> *mut PyObject;