Table of Contents

Class: InitFunc experiment/hints.py

Class of which instances will retrieve the value of a hint as late as possible.

Cooperates with the classes in the gui.variables module (which will call a variable when its value is required and the current value is a callable object)

Methods   
__call__
__init__
  __call__ 
__call__ ( self )

Instructs the object to retrieve the global variable

  __init__ 
__init__ (
        self,
        hintname,
        default=None,
        )

Constructor.

arguments:

hintname

The name of the global variable to be retrieved

optional arguments:

default

The default value to use when the global variable does not exist when the object is called.


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING