On Thu, Jul 26, 2012 at 1:20 AM, Michael Hrivnak <mhriv...@hrivnak.org> wrote: > If we want pass(), then why not break() and continue()? And also > def() and class()? for(), while(), if(), with(), we can make them all > callable objects!
No, you actually can't. You omit the one control flow statement that could actually be turned into a function, raise. None of the rest could in Python (except class), and one of the rest couldn't in any language (def). -- Devin -- http://mail.python.org/mailman/listinfo/python-list