"Jean-Paul Calderone" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I'm not sure I follow.  Surely you're not suggesting that this doesn't 
> work:
>
>    >>> class X:
>    ...     def foo(self):
>    ...         print 'X.foo', self
>    ...
>    >>> class A(X):
>    ...     pass
>    ...
>    >>> o = A()
>    >>> A.foo(o)
>    X.foo <__main__.A instance at 0xb7cab64c>
>    >>>

Either things have changed or I was misinformed and neglected to verify ;-(



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to