[pypy-svn] r20859 - pypy/dist/pypy/interpreter/astcompiler
ludal at codespeak.net
ludal at codespeak.net
Wed Dec 7 18:55:43 CET 2005
Author: ludal
Date: Wed Dec 7 18:55:42 2005
New Revision: 20859
Modified:
pypy/dist/pypy/interpreter/astcompiler/ast.py
pypy/dist/pypy/interpreter/astcompiler/astgen.py
Log:
mini bug
Modified: pypy/dist/pypy/interpreter/astcompiler/ast.py
==============================================================================
--- pypy/dist/pypy/interpreter/astcompiler/ast.py (original)
+++ pypy/dist/pypy/interpreter/astcompiler/ast.py Wed Dec 7 18:55:42 2005
@@ -61,7 +61,7 @@
def descr_getChildNodes( self, space ):
lst = self.getChildNodes()
- return space.newlist( [ self.wrap( it ) for it in lst ] )
+ return space.newlist( [ space.wrap( it ) for it in lst ] )
def descr_node_accept( space, w_self, w_visitor ):
w_callable = space.getattr(w_visitor, space.wrap('visitNode'))
Modified: pypy/dist/pypy/interpreter/astcompiler/astgen.py
==============================================================================
--- pypy/dist/pypy/interpreter/astcompiler/astgen.py (original)
+++ pypy/dist/pypy/interpreter/astcompiler/astgen.py Wed Dec 7 18:55:42 2005
@@ -413,7 +413,7 @@
def descr_getChildNodes( self, space ):
lst = self.getChildNodes()
- return space.newlist( [ self.wrap( it ) for it in lst ] )
+ return space.newlist( [ space.wrap( it ) for it in lst ] )
def descr_node_accept( space, w_self, w_visitor ):
w_callable = space.getattr(w_visitor, space.wrap('visitNode'))
More information about the Pypy-commit
mailing list