DISPATCH CODE ##############. More...
Public Member Functions | |
def | __call__ (self, arg1, args, kw) |
def | __init__ (self, tuples) |
Private Attributes | |
_dispatch | |
_types | |
DISPATCH CODE ##############.
The Dispatch class, care of David Ascher, allows different functions to be called depending on the argument types. This way, there can be one function name regardless of the argument type. To access function doc in stats.py module, prefix the function with an 'l' or 'a' for list or array arguments, respectively. That is, print stats.lmean.__doc__ or print stats.amean.__doc__ or whatever.
def wiimote.stats.Dispatch.__call__ | ( | self, | |
arg1, | |||
args, | |||
kw | |||
) |