PydObject.method_unpack

Calls the PydObject method with positional and keyword arguments.

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

Parameters

name
Type: string

name of method to call.

args
Type: PydObject

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

kw
Type: PydObject

Keyword arguments. Should be a dict.

Return Value

Type: PydObject

Whatever this object's method returns.

Meta