Searched refs:make_exception_with_doc (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_exceptions.py | 618 self.assertRaises(SystemError, _testcapi.make_exception_with_doc, 622 error1 = _testcapi.make_exception_with_doc("_testcapi.error1") 628 error2 = _testcapi.make_exception_with_doc("_testcapi.error2", doc2) 632 error3 = _testcapi.make_exception_with_doc("_testcapi.error3", 639 error4 = _testcapi.make_exception_with_doc("_testcapi.error4", doc4, 646 error5 = _testcapi.make_exception_with_doc("_testcapi.error5", "",
|
/external/python/cpython3/Lib/test/ |
D | test_exceptions.py | 1064 self.assertRaises(SystemError, _testcapi.make_exception_with_doc, 1068 error1 = _testcapi.make_exception_with_doc("_testcapi.error1") 1074 error2 = _testcapi.make_exception_with_doc("_testcapi.error2", doc2) 1078 error3 = _testcapi.make_exception_with_doc("_testcapi.error3", 1085 error4 = _testcapi.make_exception_with_doc("_testcapi.error4", doc4, 1092 error5 = _testcapi.make_exception_with_doc("_testcapi.error5", "",
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 2310 make_exception_with_doc(PyObject *self, PyObject *args, PyObject *kwargs) in make_exception_with_doc() function 2763 {"make_exception_with_doc", (PyCFunction)make_exception_with_doc,
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 2940 make_exception_with_doc(PyObject *self, PyObject *args, PyObject *kwargs) in make_exception_with_doc() function 4704 {"make_exception_with_doc", (PyCFunction)make_exception_with_doc,
|