Missing documentation on magic comma #2528
Labels
F: trailing comma
Full of magic
R: outdated
Resolved or not relevant anymore.
T: documentation
Improvements to the docs (e.g. new topic, correction, etc)
Is this related to a problem? Please describe.
I am aware from the issue tracker of the "magic comma" whereby a trailing comma can sometimes influence what black does, but cannot see where this is documented - e.g. https://black.readthedocs.io/en/stable/faq.html#
Describe the solution you'd like
Have the "magic comma" documented.
Describe alternatives you've considered
I have browsed the issues but haven't hit on a succinct summary.
Additional context
I'm hoping to tweak how black formats some multi-line lists of constant values in my code.
The text was updated successfully, but these errors were encountered: