On 30/12/2017 23:26, Gregory Ewing wrote:
bartc wrote:
B and C occur twice, so a goto is a quick way to reuse B and C without needing to duplicate code,

This only works if the repeated part happens to be at the
tail of each case.

IME that seems to be the most common situation.

 Any other situation and you're back to
local functions.


--
Bartc

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to