Searched refs:exc_args (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 249 PyObject* exc_args = Py_BuildValue("sss", nullptr, nullptr, TF_Message($1)); variable 250 SWIG_SetErrorObj(exc, exc_args);
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1885 PyObject *exc_args, *v; in raise_exception() local 1896 exc_args = PyTuple_New(num_args); in raise_exception() 1897 if (exc_args == NULL) in raise_exception() 1902 Py_DECREF(exc_args); in raise_exception() 1905 PyTuple_SET_ITEM(exc_args, i, v); in raise_exception() 1907 PyErr_SetObject(exc, exc_args); in raise_exception() 1908 Py_DECREF(exc_args); in raise_exception()
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 2147 PyObject *exc_args, *v; in raise_exception() local 2154 exc_args = PyTuple_New(num_args); in raise_exception() 2155 if (exc_args == NULL) in raise_exception() 2160 Py_DECREF(exc_args); in raise_exception() 2163 PyTuple_SET_ITEM(exc_args, i, v); in raise_exception() 2165 PyErr_SetObject(exc, exc_args); in raise_exception() 2166 Py_DECREF(exc_args); in raise_exception()
|