from future import pass_function

Michael Hrivnak mhrivnak at hrivnak.org
Thu Jul 26 17:15:51 EDT 2012


It's not uncommon for "pass" to be referred to as a control statement,
although I see your point that it isn't exerting as much control over
the flow of execution as others.  As further evidence, this doc
categorizes it as a "statement" within "flow control tools":
http://docs.python.org/tutorial/controlflow.html

Michael

On Thu, Jul 26, 2012 at 2:42 AM, Ulrich Eckhardt
<ulrich.eckhardt at dominolaser.com> wrote:
> pass is not a control statement, it is just a placeholder to make it
> explicit that there is nothing else to be expected here.
>
> Uli
> --
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list