Message63551
| Author | gvanrossum |
|---|---|
| Recipients | belopolsky, gvanrossum, twouters |
| Date | 2008-03-15.16:12:12 |
| SpamBayes Score | 0.12310625 |
| Marked as misclassified | No |
| Message-id | <1205597534.13.0.0917258826527.issue2292@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Didn't you say it does sets too? Does this work?
a = [1, 2, 3]
{1, *a, 0, 4} # {0, 1, 2, 3, 4}
How about dicts?
kwds = {'z': 0, 'w': 12}
{'x': 1, 'y': 2, **kwds} # {'x': 1, 'y': 2, 'z': 0, 'w': 12}
Also, now that we support
[*a, b, c]
shouldn't we also support
foo(*a, b, c)
? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-03-15 16:12:14 | gvanrossum | set | spambayes_score: 0.123106 -> 0.12310625 recipients: + gvanrossum, twouters, belopolsky |
| 2008-03-15 16:12:14 | gvanrossum | set | spambayes_score: 0.123106 -> 0.123106 messageid: <1205597534.13.0.0917258826527.issue2292@psf.upfronthosting.co.za> |
| 2008-03-15 16:12:12 | gvanrossum | link | issue2292 messages |
| 2008-03-15 16:12:12 | gvanrossum | create | |