from future import pass_function
John Ladasky
john_ladasky at sbcglobal.net
Thu Jul 26 16:55:39 EDT 2012
On Wednesday, July 25, 2012 9:32:33 PM UTC-7, Ethan Furman wrote:
> What code does `pass` run? When do we pass parameters to `pass`? When
> do we need to override `pass`?
>
> Answers: None. Never. Still waiting for a reply from the OP for a use
> case.
When I brought up this same issue some months ago...
https://groups.google.com/forum/?fromgroups#!topic/comp.lang.python/CB_5fek2b8A
...it wasn't because I wanted to pass parameters to "pass", it was because I wanted to define a do-nothing function as an optional behavior within another function. In other words, I wanted to pass "pass."
More information about the Python-list
mailing list