On Thu, Dec 16, 2010 at 6:51 PM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
...
> Functions always have one entry. The only way to have multiple entry
> points is if the language allows you to GOTO into the middle of a
> function, and Python sensibly does not allow this. The "one entry, one
> exit" rule comes from the days when people would routinely write
> spaghetti code, jumping into and out of blocks of code without using
> functions at all.
Only 99.7% true. Fortran still allows the appalling ENTRY statement.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to