Importing an output from another function

John Salerno johnjsal at NOSPAMgmail.com
Sat Mar 18 00:10:53 CET 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