converted_args =PyTuple_New(num_args);if(converted_args ==NULL)gotocleanup;for(arg_num =0; arg_num < num_args; ++arg_num) { PyObject *borrowed_arg, *converted_arg; borrowed_arg = PySequence_Fast_GET_ITEM(fast_args, arg_num);if(PyUnicode_FSConverter(borrowed_arg, &converted_arg) ...
PyTuple_New Synopsis PyObject* PyTuple_New(intlength) Returns a new, uninitialized tuple of the givenlength. You must then initialize the tuple, typically by callingPyTuple_SET_ITEMlengthtimes. GetPython in a Nutshellnow with the O’Reillylearning platform. ...