A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-May/024378.html below:

[Python-Dev] Style guide (PEP 8) updated

[Python-Dev] Style guide (PEP 8) updated [Python-Dev] Style guide (PEP 8) updatedGuido van Rossum guido@python.org
Fri, 24 May 2002 14:04:51 -0400
> Is it worth putting a prohibition against using bool() like this:
> 
> 	bool(x == 'blah')

Apart from being redundant, I see nothing wrong with it. :-)

> or boolean-value == True/False?  Of course, other comparisons apply too.

Now *that* is something to add, yes!

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4