jython: True and False boolean literals?

keirr keir.robinson at gmail.com
Thu Dec 22 14:03:55 EST 2005


davidmichaelkarr at gmail.com wrote:
> Aren't there boolean literals for "True" and "False" in Python

>>> True != False
True
>>> type(True)
<type 'bool'>

works for most people :-)

All the best,

 Keir




More information about the Python-list mailing list