Are line continuations needed?
Hung Jung Lu
hungjunglu at yahoo.com
Thu Apr 8 18:50:12 EDT 2004
Dang Griffith <noemail at noemail4u.com> wrote in message news:<4596f01b3d76279a6c75379203735ded at news.teranews.com>...
> On 8 Apr 2004 08:32:02 GMT, Duncan Booth <me at privacy.net> wrote:
> >
> >mystring = """\
> >+---------------+
> >| '" |
> >+---------------+
> >"""
> >
> mystring = (
> """+---------------+\n"""
> """| '" |\n"""
> """+---------------+"""
> )
mystring = """
+---------------+
| '" |
+---------------+
""" [1:]
Hung Jung
More information about the Python-list
mailing list