Trees | Index | Help |
|
---|
Package utility :: Module TypeCheckUtility :: Class TypeCheckUtility |
|
Singleton
--+
|
TypeCheckUtility
Method Summary | |
---|---|
TypeCheckUtility constructor. | |
Function used in debug mode to type check arguments of functions, since it is not native in python. |
Class Variable Summary | |
---|---|
bool | debug : Set to false to disable typechecking |
Callable |
getInstance = <utility.TypeCheckUtility.Callable instanc...
|
Method Details |
---|
__init__(self)
TypeCheckUtility constructor. (DO NOT USE: use getInstance())
|
typeCheck(self, args, types)Function used in debug mode to type check arguments of functions, since it is not native in python. This function takes two list arguments, which must be of the same size. The first list contains objects to be typechecked. The second list contains the corresponding types. The types list can contain tuples to express multiple types.
|
Class Variable Details |
---|
debugSet to false to disable typechecking
|
getInstance
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Aug 17 18:20:06 2004 | http://epydoc.sf.net |