KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > python > core > StderrWrapper


1 // Copyright (c) Corporation for National Research Initiatives
2
package org.python.core;
3
4 public class StderrWrapper extends StdoutWrapper {
5     public StderrWrapper() {
6         name = "stderr";
7     }
8
9     protected PyObject getObject(PySystemState ss) {
10         return ss.stderr;
11     }
12     protected void setObject(PySystemState ss, PyObject obj) {
13         ss.stderr = obj;
14     }
15 }
16
Popular Tags