Secretly passing parameter to function

Paul Rubin no.email at nospam.invalid
Thu Dec 6 22:13:41 CET 2012


Olivier Scalbert <olivier.scalbert at algosyn.com> writes:
> # We ask the framework to do some work.
> do(step1, param = None)

from functools import partial
do(partial(step1, param = None))



More information about the Python-list mailing list