Searched refs:ResourceError (Results 1 – 1 of 1) sorted by relevance
22 static PyObject *ResourceError; variable77 PyErr_SetFromErrno(ResourceError); in resource_getrusage()129 PyErr_SetFromErrno(ResourceError); in resource_getrlimit()189 PyErr_SetFromErrno(ResourceError); in resource_setrlimit()239 if (ResourceError == NULL) { in initresource()240 ResourceError = PyErr_NewException("resource.error", in initresource()243 Py_INCREF(ResourceError); in initresource()244 PyModule_AddObject(m, "error", ResourceError); in initresource()