type, object hierarchy?

Ben Finney bignose+hates-spam at benfinney.id.au
Mon Feb 4 02:39:52 EST 2008


Ben Finney <bignose+hates-spam at benfinney.id.au> writes:

> Robert Kern <robert.kern at gmail.com> writes:
> 
> > And if you want to really blow your mind,
> > 
> > print isinstance(type, object)  # True
> > print isinstance(object, type)  # True
> 
> Not what I see here.

Ah, you tricked me! The parent message to yours was talking about
'issubclass' but you switched to 'isinstance'.

Nothing to see here.

-- 
 \     "Never do anything against conscience even if the state demands |
  `\                                             it." —Albert Einstein |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list