Message291782
What you're seeing is a feature of the grammar.
Function allow an optional trailing comma in the argument list:
>>> pow(2, 5)
32
>>> pow(2, 5,)
32
So, to create a tuple inside in an argument list, you need the extra layer of parentheses.
Sorry, this isn't a real bug. It is just a conflict resolution between use of a comma to separate arguments in a function call and use of a comma to create a tuple. |
|
Date |
User |
Action |
Args |
2017-04-17 04:55:21 | rhettinger | set | recipients:
+ rhettinger, ezio.melotti, mrabarnett, umedoblock |
2017-04-17 04:55:21 | rhettinger | set | messageid: <1492404921.65.0.998749061407.issue30086@psf.upfronthosting.co.za> |
2017-04-17 04:55:21 | rhettinger | link | issue30086 messages |
2017-04-17 04:55:21 | rhettinger | create | |
|