Tuples !?!?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue Dec 11 19:39:58 EST 2007


aaragao at gmail.com a écrit :
> Ok. This is small code.
> 
> The problem is '2' != 2

It would indeed be a problem if this expression eval'd to True. That's 
the case in some, hem, 'languages', and believe me it's *not* the 
RightThing.

> there is a way of converting 'some number' in
> number ?

assert(2 == int(2))

Anything else about tuples ?-)



More information about the Python-list mailing list