On Jul 19, 11:39 am, Nicolas Dandrimont <nicolas.dandrim...@crans.org>
wrote:
> * Alan G Isaac <alan.is...@gmail.com> [2009-07-19 14:46:12 +0000]:
>
> > Again, my question is about the class not its instances,
> > but still, checking as you suggest gives the same answer.
>
> That's what I get for answering before my coffee!

Regardless, Nicolas's example can be applied to the class too:

>>> class Foo(object):
        pass

>>> hash(Foo)
11443104
>>> id(Foo)
11443104

class objects are just objects of type 'type'.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to