[pypy-svn] r9326 - pypy/branch/dist-interpapp/pypy/interpreter
hpk at codespeak.net
hpk at codespeak.net
Sat Feb 19 12:05:30 CET 2005
Author: hpk
Date: Sat Feb 19 12:05:30 2005
New Revision: 9326
Modified:
pypy/branch/dist-interpapp/pypy/interpreter/pycode.py
Log:
small fix (uncovered by running the lib-python-2.3.4 tests)
Modified: pypy/branch/dist-interpapp/pypy/interpreter/pycode.py
==============================================================================
--- pypy/branch/dist-interpapp/pypy/interpreter/pycode.py (original)
+++ pypy/branch/dist-interpapp/pypy/interpreter/pycode.py Sat Feb 19 12:05:30 2005
@@ -160,6 +160,7 @@
return space.newtuple([space.wrap(name) for name in self.co_names])
def descr_code__eq__(self, w_other):
+ space = self.space
other = space.interpclass_w(w_other)
if not isinstance(other, PyCode):
return space.w_False
More information about the Pypy-commit
mailing list