Message88292
| Author | marek_sp |
|---|---|
| Recipients | marek_sp |
| Date | 2009-05-24.22:30:10 |
| SpamBayes Score | 0.00029741065 |
| 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:12 | marek_sp | set | recipients: + marek_sp |
| 2009-05-24 22:30:12 | marek_sp | set | messageid: <1243204212.24.0.875545210222.issue6100@psf.upfronthosting.co.za> |
| 2009-05-24 22:30:11 | marek_sp | link | issue6100 messages |
| 2009-05-24 22:30:10 | marek_sp | create | |