replacing `else` with `then` in `for` and `try`

Ben Bacarisse ben.usenet at bsb.me.uk
Thu Nov 2 08:09:32 EDT 2017


Steve D'Aprano <steve+python at pearwood.info> writes:

> On Thu, 2 Nov 2017 10:09 pm, Ben Bacarisse wrote:
>
>> Sure, but your argument seemed to that else has entirely the wrong
>> meaning (I certainly to a double take when I have to remember what it
>> means) and, in that context, finally has a meaning closer to what you
>> want.
>
> That's an argument about whether "yellow" or "purple" is closer in meaning to
> the word we actually want, "spicy" :-)

I note the smiley, but it was in fact an argument that "finally" is
closer to "and afterwards" than "else" is :-)

-- 
Ben.



More information about the Python-list mailing list