Class CallableProxyType

All Implemented Interfaces:
Serializable, Traverseproc

public class CallableProxyType extends ProxyType
ProxyType with __call__.
See Also:
  • Field Details

    • TYPE

      public static final PyType TYPE
  • Constructor Details

  • Method Details

    • __call__

      public PyObject __call__(PyObject[] args, String[] kws)
      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).
      kws - the keywords used for all keyword arguments.