m.faassen at vet.uu.nl
Mon Jun 18 14:02:40 EDT 2001
Michael Hudson <mwh at python.net> wrote:
> m.faassen at vet.uu.nl (Martijn Faassen) writes:
>> > You're behind the times, I think (if I understand you correctly):
>> So I am! I wasn't aware this was the case. Does not seem to be mentioned in
>> Andrew Kuchling's 'What's new in Python 2.1'.
> Well, that would be because it wasn't "new in Python 2.1";
> >>> import types
> >>> isinstance(1, types.IntType)
> works in 1.5.2 (the oldest version I have lying around).
Duh. (hits himself in the head) :)
Shows you how often I use 'isinstance()'!
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?
More information about the Python-list