[issue39989] Output closing parenthesis in ast.dump() on separate line
Eric V. Smith
report at bugs.python.org
Tue Mar 17 09:35:09 EDT 2020
Eric V. Smith <eric at trueblade.com> added the comment:
For what it's worth (which might not be much), here is what black produces:
Module(
body=[
Expr(
value=Call(
func=Name(id="spam", ctx=Load()),
args=[Name(id="eggs", ctx=Load()), Constant(value="and cheese")],
keywords=[],
)
)
],
type_ignores=[],
)
I agree with Mark: it's all probably personal preference, and I'd be okay either way.
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39989>
_______________________________________
More information about the Python-bugs-list
mailing list