What is not objects in Python?

William McBrine wmcbrine at users.sf.net
Fri Oct 3 00:32:52 CEST 2008


On Wed, 01 Oct 2008 17:56:34 +0200, Boris Borcic wrote:

> 42, for instance.
> 
> Proof :
> 
>  >>> 42 is not object
> True
> 
> QED

>>> isinstance(42, object)
True

-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- pass it on



More information about the Python-list mailing list