Class PyCompoundCallable

java.lang.Object
org.python.core.PyObject
org.python.core.PyCompoundCallable
All Implemented Interfaces:
Serializable

public class PyCompoundCallable extends PyObject
See Also:
  • Constructor Details

    • PyCompoundCallable

      public PyCompoundCallable()
  • Method Details

    • append

      public void append(PyObject callable)
    • clear

      public void clear()
    • __call__

      public PyObject __call__(PyObject[] args, String[] keywords)
      Description copied from class: PyObject
      The basic method to override when implementing a callable object. The first len(args)-len(keywords) members of args[] are plain arguments. The last len(keywords) arguments are the values of the keyword arguments.
      Overrides:
      __call__ in class PyObject
      Parameters:
      args - all arguments to the function (including keyword arguments).
      keywords - the keywords used for all keyword arguments.
    • toString

      public String toString()
      Overrides:
      toString in class PyObject