namespace dictionaries ok?

Steven D'Aprano steve at REMOVEMEcyber.com.au
Tue Oct 25 09:06:26 CEST 2005


Simon Burton wrote:


> Yes!
> 
> I do this a lot when i have deeply nested function calls
> a->b->c->d->e
> and need to pass args  to the deep function without changing the
> middle functions.

If you find yourself passing arguments to functions 
just so they can in turn pass them on to other 
functions, you probably shouldn't be using deeply 
nested function calls and should be looking for another 
program structure.


-- 
Steven.




More information about the Python-list mailing list