Class PyCompoundCallable

    • Constructor Detail

      • PyCompoundCallable

        public PyCompoundCallable()
    • Method Detail

      • append

        public void append​(PyObject callable)
      • clear

        public void clear()
      • __call__

        public PyObject __call__​(PyObject[] args,
                                 java.lang.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 java.lang.String toString()
        Overrides:
        toString in class PyObject