What exactly is "pass"? What should it be?

Ben Finney ben+python at benfinney.id.au
Thu Nov 17 22:45:35 EST 2011


John Ladasky <ladasky at my-deja.com> writes:

> So, pass does not appear to be a function, nor even an object. Is it
> nothing more than a key word?

Yes. Unlike some languages where the program is a collection of
expressions, a Python program is a series of statements which themselves
may or may not be expressions.

<URL:http://docs.python.org/reference/lexical_analysis.html>

-- 
 \      “I tell you the truth: some standing here will not taste death |
  `\    before they see the Son of Man coming in his kingdom.” —Jesus, |
_o__)                             c. 30 CE, as quoted in Matthew 16:28 |
Ben Finney



More information about the Python-list mailing list