[pypy-svn] r7291 - pypy/trunk/src/pypy/annotation
arigo at codespeak.net
arigo at codespeak.net
Tue Nov 16 17:17:22 CET 2004
Author: arigo
Date: Tue Nov 16 17:17:22 2004
New Revision: 7291
Modified:
pypy/trunk/src/pypy/annotation/unaryop.py
Log:
Removed out-of-date misleading comments.
Modified: pypy/trunk/src/pypy/annotation/unaryop.py
==============================================================================
--- pypy/trunk/src/pypy/annotation/unaryop.py (original)
+++ pypy/trunk/src/pypy/annotation/unaryop.py Tue Nov 16 17:17:22 2004
@@ -108,9 +108,6 @@
# look for the attribute in the MRO order
for clsdef in ins.currentdef().getmro():
if attr in clsdef.attrs:
- # XXX we can't see the difference between function objects
- # XXX on classes or on instances, so this will incorrectly
- # XXX turn functions read from instances into methods
return clsdef.attrs[attr]
# maybe the attribute exists in some subclass? if so, lift it
clsdef = ins.classdef
More information about the Pypy-commit
mailing list