On Nov 28, 3:31 am, Paul Rudin <[EMAIL PROTECTED]> wrote:
> You have to understand that the default value for v - an empty list -
> is made at compile time - and it's the *same* list every time it's
> used i.e. if you don't pass in a value for v when you make new
> instances of your class.

*smack*!!  That's me smacking myself on the forehead.  I now remember
reading a long time ago that this was an FAQ!  Thanks for the reply,
Paul.  :)

Alfred J. Fazio,
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to