Searched refs:docobj (Results 1 – 2 of 2) sorted by relevance
615 PyObject *docobj; in PyErr_NewExceptionWithDoc() local625 docobj = PyString_FromString(doc); in PyErr_NewExceptionWithDoc()626 if (docobj == NULL) in PyErr_NewExceptionWithDoc()628 result = PyDict_SetItemString(dict, "__doc__", docobj); in PyErr_NewExceptionWithDoc()629 Py_DECREF(docobj); in PyErr_NewExceptionWithDoc()
637 PyObject *docobj; in PyErr_NewExceptionWithDoc() local647 docobj = PyString_FromString(doc); in PyErr_NewExceptionWithDoc()648 if (docobj == NULL) in PyErr_NewExceptionWithDoc()650 result = PyDict_SetItemString(dict, "__doc__", docobj); in PyErr_NewExceptionWithDoc()651 Py_DECREF(docobj); in PyErr_NewExceptionWithDoc()