DISPATCH CODE ##############. More...
Public Member Functions | |
def | __call__ |
def | __init__ |
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 stats.Dispatch.__init__ | ( | self, | |
tuples | |||
) |
def stats.Dispatch.__call__ | ( | self, | |
arg1, | |||
args, | |||
kw | |||
) |
stats.Dispatch::_dispatch [private] |
stats.Dispatch::_types [private] |