Tres Seaver wrote:

- -1.  The feature exists to allow adherence to PEP-8, "Limit all lines to
a maximum of 79 characters.", without requiring runtime concatenation
costs.  I use it frequently when assembling and testing message strings,
for instance.

removing it is a bad idea for the reasons already given, but requiring parentheses could help.

that is, the following would result in a warning or an error:

    L = ["first", "second" "third"]

but the following wouldn't:

    L = ["first", ("second" "third")]

    T = ("This is a line of text.\n"
         "This is another line of text.\n")

etc.

</F>

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to