Closes #17726: small clarification in design FAQ.

This commit is contained in:
Georg Brandl 2013-04-14 10:31:06 +02:00
parent e09596862a
commit 7b8c1324d7

View file

@ -862,8 +862,8 @@ There are several reasons to allow this.
When you have a literal value for a list, tuple, or dictionary spread across
multiple lines, it's easier to add more elements because you don't have to
remember to add a comma to the previous line. The lines can also be sorted in
your editor without creating a syntax error.
remember to add a comma to the previous line. The lines can also be reordered
without creating a syntax error.
Accidentally omitting the comma can lead to errors that are hard to diagnose.
For example::