bool behavior in Python 3000?

ahlongxp ahlongxp at gmail.com
Fri Jul 13 10:57:44 EDT 2007


On Jul 11, 5:36 am, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n... at spamgourmet.com> wrote:

> Is there any type named "bool" in standard Python?

check this out.
>>> doespythonrock = True
>>> print type(doespythonrock)
<type 'bool'>
>>>

--
ahlongxp

Software College,Northeastern University,China
ahlongxp at gmail.com
http://www.herofit.cn





More information about the Python-list mailing list