How to test if an object IS another object?

Paul Rubin http
Sun Jun 12 16:17:30 EDT 2005


eloff777 at yahoo.com writes:
> >foo = 3
> >bar = 3

> clearly foo and bar have the same value but they are different objects
> aren't they? 

No, they're the same object.  Now try it with 300 instead of 3 ;-).



More information about the Python-list mailing list