Lines Matching refs:type
7 PyObject* type = 0;
10 type = PyExc_MemoryError;
13 type = PyExc_IOError;
16 type = PyExc_RuntimeError;
19 type = PyExc_IndexError;
22 type = PyExc_TypeError;
25 type = PyExc_ZeroDivisionError;
28 type = PyExc_OverflowError;
31 type = PyExc_SyntaxError;
34 type = PyExc_ValueError;
37 type = PyExc_SystemError;
40 type = PyExc_AttributeError;
43 type = PyExc_RuntimeError;
45 return type;
52 PyObject *type = 0;
56 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
61 Py_XINCREF(type);
63 PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);