[pypy-svn] r7336 - pypy/trunk/src/pypy/objspace/flow

hpk at codespeak.net hpk at codespeak.net
Wed Nov 17 16:59:49 CET 2004


Author: hpk
Date: Wed Nov 17 16:59:49 2004
New Revision: 7336

Modified:
   pypy/trunk/src/pypy/objspace/flow/model.py
   pypy/trunk/src/pypy/objspace/flow/objspace.py
Log:
remove typos and unused code


Modified: pypy/trunk/src/pypy/objspace/flow/model.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/flow/model.py	(original)
+++ pypy/trunk/src/pypy/objspace/flow/model.py	Wed Nov 17 16:59:49 2004
@@ -63,7 +63,7 @@
         return uniqueitems([w for w in result if isinstance(w, Variable)])
 
     def getconstants(self):
-        "Return all constants mentionned in this Block."
+        "Return all constants mentioned in this Block."
         result = self.inputargs[:]
         for op in self.operations:
             result += op.args

Modified: pypy/trunk/src/pypy/objspace/flow/objspace.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/flow/objspace.py	(original)
+++ pypy/trunk/src/pypy/objspace/flow/objspace.py	Wed Nov 17 16:59:49 2004
@@ -109,7 +109,6 @@
     def build_flow(self, func, constargs={}):
         """
         """
-        func = getattr(func, "translated_version", func)
         code = func.func_code
         code = PyCode()._from_code(code)
         if func.func_closure is None:



More information about the Pypy-commit mailing list