Message363596
ast.unparse() produces incorrect output for ExtSlice containing a single element:
>>> print(ast.unparse(ast.parse('a[i:j,]')))
a[i:j]
It also produces redundant parenthesis for Index containing Tuple:
>>> print(ast.unparse(ast.parse('a[i, j]')))
a[(i, j)] |
|
Date |
User |
Action |
Args |
2020-03-07 14:41:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2020-03-07 14:41:32 | serhiy.storchaka | set | messageid: <1583592092.92.0.938156350005.issue39889@roundup.psfhosted.org> |
2020-03-07 14:41:32 | serhiy.storchaka | link | issue39889 messages |
2020-03-07 14:41:32 | serhiy.storchaka | create | |
|