[pypy-svn] r58359 - pypy/branch/2.5-features/pypy/interpreter/astcompiler
fijal at codespeak.net
fijal at codespeak.net
Tue Sep 23 01:23:14 CEST 2008
Author: fijal
Date: Tue Sep 23 01:23:11 2008
New Revision: 58359
Modified:
pypy/branch/2.5-features/pypy/interpreter/astcompiler/ast.py
Log:
Fix a bit repr of From
Modified: pypy/branch/2.5-features/pypy/interpreter/astcompiler/ast.py
==============================================================================
--- pypy/branch/2.5-features/pypy/interpreter/astcompiler/ast.py (original)
+++ pypy/branch/2.5-features/pypy/interpreter/astcompiler/ast.py Tue Sep 23 01:23:11 2008
@@ -2508,7 +2508,7 @@
def __repr__(self):
- return "From(%s, %s)" % (self.modname.__repr__(), self.names.__repr__())
+ return "From(%s, %s, %d)" % (self.modname.__repr__(), self.names.__repr__(), self.level)
def accept(self, visitor):
return visitor.visitFrom(self)
More information about the Pypy-commit
mailing list