diff lookup_list.py @ 133:b4657441dd65

Corrected typos
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Fri, 09 May 2008 13:38:54 -0400
parents 8fa1ef2411a0
children 3f4e5c9bdc5e
line wrap: on
line diff
--- a/lookup_list.py	Thu May 08 00:54:14 2008 -0400
+++ b/lookup_list.py	Fri May 09 13:38:54 2008 -0400
@@ -95,10 +95,10 @@
     def __ne__(self, other):
         return not self.__eq__(other)
 
-    def __hash__():
+    def __hash__(self):
         raise NotImplementedError()
 
-    def __call__(*names):
+    def __call__(self,*names):
         """
         Return a list of values associated with the given names (which must all be keys of the lookup list).
         """