diff lookup_list.py @ 422:32c5f87bc54e

Added __len__ to HStackedDataSet and replaced default len() by sys.maxint instead of None
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Sat, 19 Jul 2008 14:12:41 -0400
parents 7c5e5356cb11
children 3da4961cc80b
line wrap: on
line diff
--- a/lookup_list.py	Sat Jul 19 10:11:22 2008 -0400
+++ b/lookup_list.py	Sat Jul 19 14:12:41 2008 -0400
@@ -29,6 +29,7 @@
     U{http://epydoc.sourceforge.net/manual-epytext.html#doctest-blocks}
     """
     def __init__(self,names=[],values=[]):
+        print names,values
         assert len(values)==len(names)
         self.__dict__['_values']=values
         self.__dict__['_name2index']={}