Re: Extending base class methods

2005-04-19 Thread Sizer
[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)"): > > > #===

Re: Extending base class methods

2005-04-19 Thread Steve Juranich
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

Re: Extending base class methods

2005-04-19 Thread henrikpierrou
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

Re: Extending base class methods

2005-04-19 Thread Steve Juranich
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