Author marek_sp
Recipients marek_sp
Date 2009-05-24.22:30:10
SpamBayes Score 0.000297411
Marked as misclassified No
Message-id <1243204212.24.0.875545210222.issue6100@psf.upfronthosting.co.za>
In-reply-to
Content
Hello!
I recently thought about a nice feature (pure syntactic sugar):
>>> a = [2,3,4]
>>> b = [1,*a,5]
>>> print b
[1, 2, 3 ,4 ,5]

instead of:
>>> b = [1]+a+[5]

I think first one is somewhat more readable and similiar thing already
is possible with function calls. For example:
>>> c = func(*a)
History
Date User Action Args
2009-05-24 22:30:12marek_spsetrecipients: + marek_sp
2009-05-24 22:30:12marek_spsetmessageid: <1243204212.24.0.875545210222.issue6100@psf.upfronthosting.co.za>
2009-05-24 22:30:11marek_splinkissue6100 messages
2009-05-24 22:30:10marek_spcreate