[issue34822] Simplify AST for slices

Vedran Čačić report at bugs.python.org
Sat Mar 7 09:57:40 EST 2020


Vedran Čačić <vedgar at gmail.com> added the comment:

Agree with the idea, but think the name is too narrow. How about `parethesized`? There are many contexts where parentheses look weird and can be omitted (e.g. after return statement), although subscripts are currently the only place where they are an outright error.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34822>
_______________________________________


More information about the Python-bugs-list mailing list