Class PyNotImplemented

  • All Implemented Interfaces:
    java.io.Serializable

    public class PyNotImplemented
    extends PySingleton
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • __nonzero__

        public boolean __nonzero__()
        Description copied from class: PyObject
        Equivalent to the standard Python __nonzero__ method. Returns whether of not a given PyObject is considered true.
        Overrides:
        __nonzero__ in class PyObject
      • __tojava__

        public java.lang.Object __tojava__​(java.lang.Class c)
        Description copied from class: PyObject
        Equivalent to the Jython __tojava__ method. Tries to coerce this object to an instance of the requested Java class. Returns the special object Py.NoConversion if this PyObject can not be converted to the desired Java class.
        Overrides:
        __tojava__ in class PyObject
        Parameters:
        c - the Class to convert this PyObject to.