Home | History | Annotate | Download | only in Modules

Lines Matching refs:runpy

177     PyObject *runpy, *runmodule, *runargs, *result;
178 runpy = PyImport_ImportModule("runpy");
179 if (runpy == NULL) {
180 fprintf(stderr, "Could not import runpy module\n");
183 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
185 fprintf(stderr, "Could not access runpy._run_module_as_main\n");
186 Py_DECREF(runpy);
192 "Could not create arguments for runpy._run_module_as_main\n");
193 Py_DECREF(runpy);
201 Py_DECREF(runpy);