changeset 2442 | b13f021c68a5 |
parent 2439 | f0a040f1de1b |
child 2679 | 2783906d5792 |
--- a/py_ext/PythonFileCTNMixin.py Tue Oct 09 13:50:29 2018 +0300 +++ b/py_ext/PythonFileCTNMixin.py Tue Oct 09 14:03:44 2018 +0300 @@ -318,4 +318,4 @@ return ([(Gen_PyCfile_path, matiec_CFLAGS)], "", True, - ("runtime_%s.py" % location_str, file(runtimefile_path, "rb"))) + ("runtime_%s.py" % location_str, open(runtimefile_path, "rb")))