[pypy-svn] r9614 - pypy/dist/pypy/annotation

pedronis at codespeak.net pedronis at codespeak.net
Thu Mar 3 19:25:41 CET 2005


Author: pedronis
Date: Thu Mar  3 19:25:41 2005
New Revision: 9614

Modified:
   pypy/dist/pypy/annotation/unaryop.py
Log:
remove commented out code, now all contains logic is directly in the classes in model



Modified: pypy/dist/pypy/annotation/unaryop.py
==============================================================================
--- pypy/dist/pypy/annotation/unaryop.py	(original)
+++ pypy/dist/pypy/annotation/unaryop.py	Thu Mar  3 19:25:41 2005
@@ -200,14 +200,6 @@
                 raise BlockedInference
         return
 
-    #def contains(self, other):
-    #    # override the default contains() to ignore revision numbers
-    #    if self == other:
-    #        return True
-    #    s_union = pair(self, other).union()
-    #    return (isinstance(s_union, SomeInstance) and
-    #            s_union.classdef is self.classdef)
-
 
 class __extend__(SomeBuiltin):
     def simple_call(bltn, *args):



More information about the Pypy-commit mailing list