Behavior of the for-else construct

Antoon Pardon antoon.pardon at vub.be
Mon Mar 7 14:20:40 EST 2022



Op 4/03/2022 om 02:08 schreef Avi Gross via Python-list:
> If Python was being designed TODAY, I wonder if a larger set of key words would be marked as RESERVED for future expansion including ORELSE and even NEVERTHELESS.

I think a better solution would be to have reserved words written letters form the mathematical lettter block.

Something like:

𝐝𝐞𝐟 foo(bar):
    in = file(...)
    𝐟𝐨𝐫 line 𝐢𝐧 in:
       ...



More information about the Python-list mailing list