[pypy-svn] r58624 - pypy/branch/2.5-features/pypy/interpreter/astcompiler

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Oct 6 13:15:53 CEST 2008


Author: cfbolz
Date: Mon Oct  6 13:15:51 2008
New Revision: 58624

Modified:
   pypy/branch/2.5-features/pypy/interpreter/astcompiler/pyassem.py
Log:
(xoraxax, cfbolz): Fix annotation problem.


Modified: pypy/branch/2.5-features/pypy/interpreter/astcompiler/pyassem.py
==============================================================================
--- pypy/branch/2.5-features/pypy/interpreter/astcompiler/pyassem.py	(original)
+++ pypy/branch/2.5-features/pypy/interpreter/astcompiler/pyassem.py	Mon Oct  6 13:15:51 2008
@@ -51,8 +51,7 @@
             self.argcount = self.argcount - 1
 
     def checkFlag(self, flag):
-        if self.flags & flag:
-            return 1
+        return self.flags & flag
 
     def setFreeVars(self, names):
         self.freevars = list(names)



More information about the Pypy-commit mailing list