[pypy-svn] r39325 - pypy/dist/pypy/lang/js

santagada at codespeak.net santagada at codespeak.net
Fri Feb 23 01:39:13 CET 2007


Author: santagada
Date: Fri Feb 23 01:39:11 2007
New Revision: 39325

Modified:
   pypy/dist/pypy/lang/js/interpreter.py
Log:
fix the new function


Modified: pypy/dist/pypy/lang/js/interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/js/interpreter.py	(original)
+++ pypy/dist/pypy/lang/js/interpreter.py	Fri Feb 23 01:39:11 2007
@@ -1057,7 +1057,7 @@
     "receives a list of arguments and wrap then in their js equivalents"
     res = []
     for arg in pyargs:
-        if isinstance(arg, W_Root)
+        if isinstance(arg, W_Root):
             res.append(arg)
         elif isinstance(arg, str):
             res.append(W_String(arg))
@@ -1065,4 +1065,4 @@
             res.append(W_Number(arg))
         elif isinstance(arg, bool):
             res.append(W_Boolean(arg))
-        elif isinstance(arg, )
+    return res
\ No newline at end of file



More information about the Pypy-commit mailing list