153154155156157158159
public void setOut(PyObject outStream) { getSystemState().stdout = outStream; } public void setOut(java.io.Writer outStream) { setOut(new PyFileWriter(outStream)); }
172173174175176177178
public void setErr(PyObject outStream) { getSystemState().stderr = outStream; } public void setErr(java.io.Writer outStream) { setErr(new PyFileWriter(outStream)); }