new-style class or old-style class?

Littlefield, Tyler tyler at tysdomain.com
Tue Sep 25 11:02:00 EDT 2012


On 9/25/2012 8:44 AM, Jayden wrote:
> In learning Python, I found there are two types of classes? Which one are widely used in new Python code? Is the new-style much better than old-style? Thanks!!


Perhaps this is useful:
http://docs.python.org/reference/datamodel.html
It's 3.3 I think.

-- 
Take care,
Ty
http://tds-solutions.net
The aspen project: a barebones light-weight mud engine:
http://code.google.com/p/aspenmud
He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.




More information about the Python-list mailing list