Searched refs:main_module (Results 1 – 1 of 1) sorted by relevance
101 static PyObject *main_module, *main_dict; variable1704 main_module = PyImport_AddModule("__main__"); in run_start_sub()1705 if (main_module == NULL) in run_start_sub()1707 Py_INCREF(main_module); in run_start_sub()1709 main_dict = PyModule_GetDict(main_module); in run_start_sub()1723 Py_XDECREF(main_module); in run_start_sub()1946 Py_XDECREF(main_module); in python_stop_script()