Message24613
Logged In: YES
user_id=945502
If you're talking about the following:
"""
Note that \function{super} is implemented as part of the
binding process for explicit dotted attribute lookups such
as \samp{super(C, self).__getitem__(name)}. Accordingly,
\function{super} is undefined for implicit lookups using
statements or operators such as \samp{super(C, self)[name]}.
"""
I believe it's trying to say that super works as if it only
overrode __getattr__. Hence ``sup.XXX`` works, but not
``sup[...]``, ``sup(...)``, etc. That first sentence seems
mostly unnecessary to me. As long as we say that the
__XXX__ methods must be spelled out explicitly, I think
we've got our bases covered. |
|
Date |
User |
Action |
Args |
2007-08-23 14:30:11 | admin | link | issue1163367 messages |
2007-08-23 14:30:11 | admin | create | |
|