[EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
> Any ideas why this does not work? I get the error "TypeError: unbound
> method printer() must be called with Field_Collection instance as
> first argument (got MSD instance instead)"):
>
>
> #===
On 19 Apr 2005 08:27:28 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Ok, i'll try that. But what about the recommendation in the tutorial,
> is that not possible?
In the new (2.4) version of the Tutorial, that statement has been
removed. What you're using has been called "old-style" clas
Ok, i'll try that. But what about the recommendation in the tutorial,
is that not possible?
/H
--
http://mail.python.org/mailman/listinfo/python-list
On 19 Apr 2005 07:01:10 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Any ideas why this does not work? I get the error "TypeError: unbound
> method printer() must be called with Field_Collection instance as first
> argument (got MSD instance instead)"):
My suggestion would be to make Fiel
Hi,
I am trying to extend an overridden base class method (printer) by
printing some extra fields and then calling the base class method.
Extract from the python tutorial:
'An overriding method in a derived class may in fact want to extend
rather than simply replace the base class method of the s