2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 09:02:15 +00:00

(merge from head)

removed tabs (inspect tool)


[SVN r34721]
This commit is contained in:
Gennaro Prota
2006-07-24 22:21:39 +00:00
parent c54acdb9db
commit ecf70b05f2
2 changed files with 10 additions and 10 deletions

View File

@@ -34,9 +34,9 @@ object exec_file(str filename, object global, object local)
if (!pyfile) throw std::invalid_argument(std::string(f) + " : no such file");
python::handle<> file(pyfile);
PyObject* result = PyRun_File(PyFile_AsFile(file.get()),
f,
Py_file_input,
global.ptr(), local.ptr());
f,
Py_file_input,
global.ptr(), local.ptr());
if (!result) throw_error_already_set();
return object(detail::new_reference(result));
}