2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00

removed tabs (inspect tool)

[SVN r34720]
This commit is contained in:
Gennaro Prota
2006-07-24 22:20:25 +00:00
parent 4081605e4b
commit f240e0bab6

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));
}