[pypy-svn] r9564 - pypy/dist/pypy/translator

tismer at codespeak.net tismer at codespeak.net
Tue Mar 1 20:48:43 CET 2005


Author: tismer
Date: Tue Mar  1 20:48:43 2005
New Revision: 9564

Modified:
   pypy/dist/pypy/translator/genc.py
Log:
some omission...

Modified: pypy/dist/pypy/translator/genc.py
==============================================================================
--- pypy/dist/pypy/translator/genc.py	(original)
+++ pypy/dist/pypy/translator/genc.py	Tue Mar  1 20:48:43 2005
@@ -633,7 +633,7 @@
                '"%s:%s"' % (fmt, func.__name__),
                'kwlist',
                ]
-        lst += ['&' + a.name for a in positional_args]
+        lst += ['&' + self.expr(a, localvars) for a in positional_args]
         print >> f, '\tif (!PyArg_ParseTupleAndKeywords(%s))' % ', '.join(lst),
         print >> f, tail
 



More information about the Pypy-commit mailing list