updating local()

Steve Holden steve at holdenweb.com
Thu Oct 6 09:15:32 EDT 2005


Richard Brodie wrote:
> "Flavio" <fccoelho at gmail.com> wrote in message
> news:1128603314.197733.119160 at g47g2000cwa.googlegroups.com...
> 
> 
>>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 lie down until I felt better.
> 
> 
Or alternatively put them in a 1,000-element list. Just as a matter of 
interest, what on *earth* is the use case for a function with a thousand 
arguments?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list