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. Any other situation and you're back to
local functions.

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

Reply via email to