John Fouhy wrote:
> On 09/11/05, Roy Bleasdale <[EMAIL PROTECTED]> wrote:
>
>>I have created a List within a class. If I try and append to the list using
>>the set function using the property value my variable stops being a list.
>
> Properties only work properly with new style classes. You get
On 09/11/05, Roy Bleasdale <[EMAIL PROTECTED]> wrote:
> I have created a List within a class. If I try and append to the list using
> the set function using the property value my variable stops being a list.
>
> Can anyone explain why the set function called by the class property does
> not append
I have created a List within a class. If I try and append to the list using
the set function using the property value my variable stops being a list.
Can anyone explain why the set function called by the class property does
not append to the list?
Here is some sample code:
class ShoppingBag: