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

[Python-Dev] Boolean transition

[Python-Dev] Boolean transition [Python-Dev] Boolean transitionSamuele Pedroni pedroni@inf.ethz.ch
Mon, 11 Mar 2002 03:38:58 +0100
From: Samuele Pedroni <pedroni@inf.ethz.ch>
>  
>  if <number>: ... etc
> 

Which correspond to the idioms:

if counter: ...

if flag: ... 
# which ideally should change even with the proposal
# to have type(flag) is bool

if bit:
if bits&bitmasks: ...

etc.

regards.




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