PydObject.method_unpack

Calls the PydObject method with positional and keyword arguments.

  1. PydObject method_unpack(string name, PydObject args)
  2. PydObject method_unpack(string name, PydObject args, PydObject kw)
    class PydObject
    method_unpack

Parameters

name string

name of method to call.

args PydObject

Positional arguments. Should be a tuple. Pass an empty tuple for no positional arguments.

kw PydObject

Keyword arguments. Should be a dict.

Return Value

Type: PydObject

Whatever this object's method returns.

Meta