01: // Copyright (c) Corporation for National Research Initiatives
02: package org.python.core;
03:
04: public class StderrWrapper extends StdoutWrapper {
05: public StderrWrapper() {
06: this .name = "stderr";
07: }
08:
09: protected PyObject getObject(PySystemState ss) {
10: return ss.stderr;
11: }
12:
13: protected void setObject(PySystemState ss, PyObject obj) {
14: ss.stderr = obj;
15: }
16: }
|