Equivalent code to the bool() built-in function

Chris Angelico rosuav at gmail.com
Sun Apr 17 21:52:56 EDT 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

AltStyle によって変換されたページ (->オリジナル) /