Message151190
| Author |
georg.brandl |
| Recipients |
benjamin.peterson, bronikkk, georg.brandl, meador.inge |
| Date |
2012年01月13日.19:47:03 |
| SpamBayes Score |
0.00038817126 |
| Marked as misclassified |
No |
| Message-id |
<1326484024.27.0.588295255137.issue13746@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is because the parentheses don't really belong to the tuple literal.
You could just as well write
b = 1, 3.14, 'abc', u'XYZ'
In other cases, the parentheses may be needed for grouping purposes (e.g. in function calls), but they still are only for grouping, just as in (a + b) * c.
For the empty tuple, where the parentheses actually are part of the literal, the col_offset is correct. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月13日 19:47:04 | georg.brandl | set | recipients:
+ georg.brandl, benjamin.peterson, meador.inge, bronikkk |
| 2012年01月13日 19:47:04 | georg.brandl | set | messageid: <1326484024.27.0.588295255137.issue13746@psf.upfronthosting.co.za> |
| 2012年01月13日 19:47:03 | georg.brandl | link | issue13746 messages |
| 2012年01月13日 19:47:03 | georg.brandl | create |
|