Importing an output from another function

John Salerno johnjsal at NOSPAMgmail.com
Fri Mar 17 18:10:53 EST 2006


James Stroud wrote:

> Yours is better, after I wrote mine, I realized the asterisk was 
> unnecessary for this particular example, except that it makes Func2 more 
> general.

Yeah, I tested it. Func2 prints a tuple of a tuple when the asterisk is 
used.

But your generator still wins. :)



More information about the Python-list mailing list