/[escript]/branches/py3_attempt2/escript/py_src/util.py
ViewVC logotype

Diff of /branches/py3_attempt2/escript/py_src/util.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3879 by jfenwick, Thu Mar 15 07:06:51 2012 UTC revision 3880 by jfenwick, Wed Mar 21 10:21:26 2012 UTC
# Line 1209  class DependendSymbol(Symbol): Line 1209  class DependendSymbol(Symbol):
1209            `Symbol` arguments. This will allow the optimizer to remove            `Symbol` arguments. This will allow the optimizer to remove
1210            redundant function calls.            redundant function calls.
1211     """     """
1212    
1213       def __hash__(self):
1214           return hash(self.getShape()) ^ hash(self.getDim()) ^ len(self.getArgument())
1215    
1216     def __eq__(self,other):     def __eq__(self,other):
1217        """        """
1218        Checks if ``other`` equals self.        Checks if ``other`` equals self.

Legend:
Removed from v.3879  
changed lines
  Added in v.3880

  ViewVC Help
Powered by ViewVC 1.1.26