diff options
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r-- | src/pyinterp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc index 2c549890..ed94de84 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -93,14 +93,14 @@ struct python_run { object result; - python_run(python_interpreter_t * intepreter, + python_run(python_interpreter_t * interpreter, const string& str, int input_mode) : result (handle<> (borrowed (PyRun_String(str.c_str(), input_mode, - intepreter->main_module->module_globals.ptr(), - intepreter->main_module->module_globals.ptr())))) {} + interpreter->main_module->module_globals.ptr(), + interpreter->main_module->module_globals.ptr())))) {} operator object() { return result; } |