On Mon, May 12, 2014 at 2:03 PM, Steffen Hoffmann <hoff...@web.de> wrote: > On 12.05.2014 13:47, Christopher Nelson wrote: >> Can you show an example of each style here so we can comment on them? > > Consider the following: > > def explicit_tuple(invalue): > # Some useless algorithm computing output. > # ... > outvalue1 = 1 > outvalue1 = 2
outvalue2 = 2? > return (outvalue1, outvalue2) > > > def implicit_tuple(invalue): > # Some useless algorithm computing output. > # ... > outvalue1 = 1 > outvalue1 = 2 Same > return outvalue1, outvalue2 > > As Ryan pointed out, the return value is a tuple in both cases. IMHO, I would *strongly* favor the parentheses. -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+unsubscr...@googlegroups.com. To post to this group, send email to trac-dev@googlegroups.com. Visit this group at http://groups.google.com/group/trac-dev. For more options, visit https://groups.google.com/d/optout.