for / while else doesn't make sense

Ian Kelly ian.g.kelly at gmail.com
Sat May 21 09:51:34 EDT 2016


On Sat, May 21, 2016 at 5:26 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> Does anyone know of other languages that include the same feature? It's very
> rare for Python to innovate in language features.
>
> (I wonder if it came from ABC?)

According to Raymond Hettinger starting at about 15:50 in this video:

http://pyvideo.org/video/1780/transforming-code-into-beautiful-idiomatic-pytho

It was invented by Donald Knuth (including the choice of keyword).



More information about the Python-list mailing list