Equivalent code to the bool() built-in function

Chris Angelico rosuav at gmail.com
Mon Apr 18 03:52:56 CEST 2011

On Mon, Apr 18, 2011 at 11:46 AM, Dave Angel <davea at ieee.org> wrote:
>>>> bool = int

Any language that allows you to do this is either awesome or
terrifying. Come to think of it, there's not a lot of difference.

Chris Angelico

More information about the Python-list mailing list