[Python-ideas] Assignment decorators (Re: The Descriptor Protocol...)

Guido van Rossum guido at python.org
Fri Mar 4 00:25:21 CET 2011


On Thu, Mar 3, 2011 at 3:25 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
>>  def Fred as namedtuple('x y z')
>
> This I like.  Do we even need the def?

Eek! All other uses of 'as' in Python have the target on the right.

-- 
--Guido van Rossum (python.org/~guido)



More information about the Python-ideas mailing list