Logo Search packages:      
Sourcecode: adonthell version File versions  Download package

void python::cleanup ( void   )  [static]

Cleanup Python.

Stop Python

Definition at line 48 of file python_class.cc.

Referenced by config::parse_arguments().

{
    // Cleanup the global namespace of python interpreter
    // Note that we don't have to DECREF data::globals, because they're a
    // borrowed reference of py_module.
    Py_XDECREF (module);
    Py_Finalize ();
}


Generated by  Doxygen 1.6.0   Back to index