class(object) and (type)??

AON LAZIO aonlazio at
Mon Sep 8 23:35:19 CEST 2008

Hi again pythoners,
     I notice in the class of a code having (object) and (type) attached to
the name of the class.
I know that in other cases, that means the class inherits methods and
properties from other but
In this case, what does it mean?
For example,

class PY(object):
    def __init__(self):

class PO(type):
     def __init__(self):
     What do "object" and "type" mean?

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list