Message 234754 - Python tracker

Message234754

Author NeilGirdhar
Recipients Jeff.Kaufman, Joshua.Landau, NeilGirdhar, SpaghettiToastBook, andybuckley, belopolsky, berker.peksag, eric.araujo, eric.snow, ezio.melotti, georg.brandl, gvanrossum, ncoghlan, paul.moore, pconnell, r.david.murray, terry.reedy, twouters, zbysz
Date 2015-01-26.16:42:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422290520.51.0.701121417188.issue2292@psf.upfronthosting.co.za>
In-reply-to
Content
Is this correct?

>>> f(*i for i in ['abc', 'def'])
['a', 'b', 'c', 'd', 'e', 'f'] []
>>> f(**i for i in ['abc', 'def'])
  File "<stdin>", line 1
    f(**i for i in ['abc', 'def'])
            ^
SyntaxError: invalid syntax

Should neither work?  Both?
History
Date User Action Args
2015-01-26 16:42:00NeilGirdharsetrecipients: + NeilGirdhar, gvanrossum, twouters, georg.brandl, terry.reedy, paul.moore, ncoghlan, belopolsky, ezio.melotti, eric.araujo, andybuckley, r.david.murray, zbysz, eric.snow, berker.peksag, Joshua.Landau, pconnell, Jeff.Kaufman, SpaghettiToastBook
2015-01-26 16:42:00NeilGirdharsetmessageid: <1422290520.51.0.701121417188.issue2292@psf.upfronthosting.co.za>
2015-01-26 16:42:00NeilGirdharlinkissue2292 messages
2015-01-26 16:42:00NeilGirdharcreate