[Python-ideas] Keyword same in right hand side of assignments (rev)

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Mar 17 18:55:53 CET 2009


On Tue, Mar 17, 2009 at 13:23,  <hwpuschm at yahoo.de> wrote:

>   "lst = [5,6] + same" synonymous with
>       "lst.reverse(); lst.extend([6,5]); lst.reverse()"

What about:
   lst = x + same
?

-- 
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/



More information about the Python-ideas mailing list