updating local()

Simon Brunning simon.brunning at gmail.com
Thu Oct 6 15:18:10 CEST 2005


On 6 Oct 2005 05:55:14 -0700, Flavio <fccoelho at gmail.com> wrote:
> Now what would you do if you wanted to pass a lot of variables (like a
> thousand) to a function and did not wanted the declare them in the
> function header?

I'd think twice. If on reflection I decided I really wanted to do it,
I'd pass them all in a dictionary.

--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list