check if object is number
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Thu Feb 17 08:55:49 EST 2005
On Sat, 12 Feb 2005 16:01:26 -0800, rumours say that Michael Spencer
<mahs at telcopartners.com> might have written:
>> Yup, that's basically what I'm doing right now. The question was really
>> how to define that adapter function. =)
>>
>> Steve
>OK - then my entry is:
> assert obj+1 >= 1
>:-)
So -1 is not a number.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
More information about the Python-list
mailing list