Module v.c.l.robustapply

Part of vmc.contrib.louie

Robust apply mechanism.

Provides a function 'call', which can sort out what arguments a given callable object can take, and subset the given arguments to match only those which are acceptable.
Function function Get function-like callable object for given receiver.
Function robust_apply Call receiver with arguments and appropriate subset of named.
def function(receiver):

Get function-like callable object for given receiver.

returns (function_or_method, codeObject, fromMethod)

If fromMethod is true, then the callable already has its first argument bound.
def robust_apply(receiver, signature, *arguments, **named):
Call receiver with arguments and appropriate subset of named. ``signature`` is the callable used to determine the call signature of the receiver, in case ``receiver`` is a callable wrapper of the actual receiver.
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.