pydispatch.robustapply
index
/home/mcfletch/OpenGL-dev/pydispatcher/pydispatch/robustapply.py

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.

 
Modules
       
sys

 
Functions
       
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
robustApply(receiver, *arguments, **named)
Call receiver with arguments and an appropriate subset of named

 
Data
        __cached__ = '/home/mcfletch/OpenGL-dev/pydispatcher/pydispatch/__pycache__/robustapply.cpython-310.pyc'
__file__ = '/home/mcfletch/OpenGL-dev/pydispatcher/pydispatch/robustapply.py'
__loader__ = <_frozen_importlib_external.SourceFileLoader object>
__name__ = 'pydispatch.robustapply'
__package__ = 'pydispatch'
__spec__ = ModuleSpec(name='pydispatch.robustapply', loader...enGL-dev/pydispatcher/pydispatch/robustapply.py')
func_code = '__code__'
im_code = '__code__'
im_func = '__func__'
im_self = '__self__'