Mark Dickinson added the comment:

> Currently the most obvious way to do this is to use a temporary variable:

Or more simply:

    lines = ''.join(substring + '\n' for substring in substrings)

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to