tobiah wrote:
> Is there a built in way to do this?  I don't much
> care for:
>
>       string = "function otherlang(){"
>       string += "     doit()"
>       string += "}"

That can be somewhat simplified to:
string = "function otherlang(){"\
         "    doit()"\
         "}"
It's not exactly what you wanted, I know.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to