Searched refs:main_module (Results 1 – 1 of 1) sorted by relevance
101 static PyObject *main_module, *main_dict; variable1724 main_module = PyImport_AddModule("__main__"); in run_start_sub()1725 if (main_module == NULL) in run_start_sub()1727 Py_INCREF(main_module); in run_start_sub()1729 main_dict = PyModule_GetDict(main_module); in run_start_sub()1743 Py_XDECREF(main_module); in run_start_sub()1966 Py_XDECREF(main_module); in python_stop_script()