All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.python.core.StderrWrapper Maven / Gradle / Ivy

Go to download

Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.

The newest version!
// Copyright (c) Corporation for National Research Initiatives
package org.python.core;

public class StderrWrapper extends StdoutWrapper {
    public StderrWrapper() {
        this.name = "stderr";
    }

    protected PyObject getObject(PySystemState ss) {
        return ss.stderr;
    }

    protected void setObject(PySystemState ss, PyObject obj) {
        ss.stderr = obj;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy