A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/092222.html below:

do...until wisdom needed...

do...until wisdom needed... do...until wisdom needed...Benjamin.Altman benjamin.altman at noaa.gov
Mon Apr 16 14:07:48 EDT 2001
Why couldn't you just say that "all control statements in Python are dedented,
end with a :" _because they_ "have code following the statement."?  So if one
would be created that doesn't have code following, there would be no need for it
to end with a ":" and it could be dedetended from the other end...



Andrew Dalke wrote:

> The other one is that no one could think of a nice way to
> do the indentation given that it requires two control statements,
> and all control statements in Python are dedented, end with a :
> and have code following the statement.  The "until" clause
> breaks one of those, unless you always follow it with a dummy
> "pass" statement.


More information about the Python-list mailing list

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