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/024376.html below:

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

[Python-Dev] Style guide (PEP 8) updated [Python-Dev] Style guide (PEP 8) updatedNeal Norwitz neal@metaslash.com
Fri, 24 May 2002 13:50:58 -0400
Guido van Rossum wrote:
> 
> Barry has added (with my consent :-) some additional style guidelines
> to PEP 8.  I welcome suggestions for more guidelines.  I discourage
> arguing over what's already in the PEP (it's a BDFL pronouncement, not
> a democratic document).

Is it worth putting a prohibition against using bool() like this:

	bool(x == 'blah')

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

Neal




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