member functions in a class

Karl Kobata karl.kobata at syncira.com
Thu Sep 18 02:43:36 EDT 2008


I am new to python and am wondering.  When I create a class, with 'def'
functions and if this class is instantiated say 50 times.  Does this mean
that all the 'def' functions code within the class is duplicated for each
instance?

Can someone give me a short and simple answer as to what happens in python?

 

Thanks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080917/a3afa8dc/attachment.html>


More information about the Python-list mailing list