Public Member Functions

MGT::Bits::Factory::Factory Class Reference

List of all members.

Public Member Functions

def __init__
def generateArgs
def bind
def getCallable

Detailed Description

Object oriented partial function application

Constructor & Destructor Documentation

def MGT::Bits::Factory::Factory::__init__ (   self,
  callee,
  args,
  kwargs 
)
callee
    the function to bind

*args
    varargs to pass to ``bind``

**kwargs
    keyword args to pass to ``bind``

Member Function Documentation

def MGT::Bits::Factory::Factory::bind (   self,
  args,
  kwargs 
)
update bound args & kwargs and return self
def MGT::Bits::Factory::Factory::generateArgs (   self,
  args,
  kwargs 
)
return the (args, kwargs) that would be used when the Factory is called
def MGT::Bits::Factory::Factory::getCallable (   self )
return the original callable

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