Public Member Functions | Private Attributes | List of all members
wiimote.stats.Dispatch Class Reference

DISPATCH CODE ##############. More...

Public Member Functions

def __call__ (self, arg1, args, kw)
 
def __init__ (self, tuples)
 

Private Attributes

 _dispatch
 
 _types
 

Detailed Description

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.

Definition at line 234 of file stats.py.

Constructor & Destructor Documentation

def wiimote.stats.Dispatch.__init__ (   self,
  tuples 
)

Definition at line 244 of file stats.py.

Member Function Documentation

def wiimote.stats.Dispatch.__call__ (   self,
  arg1,
  args,
  kw 
)

Definition at line 253 of file stats.py.

Member Data Documentation

wiimote.stats.Dispatch._dispatch
private

Definition at line 245 of file stats.py.

wiimote.stats.Dispatch._types
private

Definition at line 251 of file stats.py.


The documentation for this class was generated from the following file:


wiimote
Author(s): Andreas Paepcke, Melonee Wise, Mark Horn
autogenerated on Mon Jun 10 2019 13:42:43