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

Ben Finney ben+python at benfinney.id.au
Sun Nov 5 17:54:11 EST 2017


Jon Ribbens <jon+usenet at unequivocal.eu> writes:

> I've provided you with a way of thinking about 'for...else' that makes
> its purpose and meaning intuitively obvious.

I've read that sentence several times, and I still can't make it
anything but a contradiction in terms.

Something that is “intuitively obvious” surely has the property that it
*does not need* a special “way of thinking about” it.

So I can't see that it could be “intuitively obvious” if that special
way of thinking about it is needed. Did you mean something else?

-- 
 \       “Don't worry about what anybody else is going to do. The best |
  `\             way to predict the future is to invent it.” —Alan Kay |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list