[Python-ideas] Possible PEP 380 tweak

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Oct 30 08:18:20 CEST 2010


Nick Coghlan wrote:

> Here's a crazy idea though. What if gtally2() could be written as follows:
> 
> def gtally2():
>   return from gtally()

That seems like an excessively special case. Most of the time
you're going to want to do some processing on the value, not
just return it immediately.

-- 
Greg



More information about the Python-ideas mailing list