[issue39199] Improve the AST documentation

Pablo Galindo Salgado report at bugs.python.org
Mon Mar 9 18:46:36 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

The first one looks on first inspection "cleaner" but then I tried to look at a random closed bracket/parenthesis like the ones in

                                    
    value=Constant(value=Ellipsis))])])],


and trying to guess where that closes and is confusing to say the least so I think I would prefer the second one as is less "dense".

Additionally, I was curious and I have asked several people with different examples and almost everyone prefers the second one, being
the only reason someone preferred the first the fact that "fits vertically in the screen and you need less scrolling to read it all".

----------

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


More information about the Python-bugs-list mailing list