org.python.modules
Class newmodule

java.lang.Object
  extended byorg.python.modules.newmodule

public class newmodule
extends Object


Constructor Summary
newmodule()
           
 
Method Summary
static PyClass classobj(String name, PyTuple bases, PyObject dict)
           
static PyFunction function(PyCode code, PyObject globals)
           
static PyFunction function(PyCode code, PyObject globals, String name)
           
static PyFunction function(PyCode code, PyObject globals, String name, PyObject[] argdefs)
           
static PyInstance instance(PyClass cls)
           
static PyInstance instance(PyClass cls, PyObject dict)
           
static PyMethod instancemethod(PyObject func, PyObject instance, PyClass clss)
           
static PyModule module(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

newmodule

public newmodule()
Method Detail

instance

public static PyInstance instance(PyClass cls)

instance

public static PyInstance instance(PyClass cls,
                                  PyObject dict)

instancemethod

public static PyMethod instancemethod(PyObject func,
                                      PyObject instance,
                                      PyClass clss)

function

public static PyFunction function(PyCode code,
                                  PyObject globals)

function

public static PyFunction function(PyCode code,
                                  PyObject globals,
                                  String name)

function

public static PyFunction function(PyCode code,
                                  PyObject globals,
                                  String name,
                                  PyObject[] argdefs)

module

public static PyModule module(String name)

classobj

public static PyClass classobj(String name,
                               PyTuple bases,
                               PyObject dict)