On Thu, 29 Jan 2009 02:25:57 -0800, Chris Rebert wrote:

> In addition to methods, Python has functions, which are not associated
> with a class 

Yes they are.

>>> (lambda: None).__class__
<type 'function'>

The function type itself has a class:

>>> (lambda: None).__class__.__class__
<type 'type'>


-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to