[Python-Dev] What's a PyStructSequence ?

Martin v. Loewis martin@v.loewis.de
Wed, 28 Nov 2001 07:22:26 +0100


> > Py_True, of course, *is* 1. There is no proper boolean type.
> 
> Seeing you added emphasis on the *is*, I assume you meant *is* :)

Indeed, that's what I really meant.

> Py_True == 1, but is *not* 1

Thanks for clarifying it; that was surprising since I assumed 1 was a
proper singleton under all circumstances.

Regards,
Martin