Anyone want to critique this program?

John Salerno johnjsal at gmail.com
Mon Jul 4 05:25:51 CEST 2011


On Jul 3, 1:06 pm, "OKB (not okblacke)"
<brenNOSPAMb... at NObrenSPAMbarn.net> wrote:

> > Yeah, I considered that, but I just hate the way it looks when the
> > line wraps around to the left margin. I wanted to line it all up
> > under the opening quotation mark. The wrapping may not be as much
> > of an issue when assigning a variable like this, but I especially
> > don't like triple-quoted strings that wrap around inside function
> > definitions. That seems to completely throw off the indentation. Do
> > people still use triple-quotes in that situation?
>
>         I do, because I use an editor that intelligently indents wrapped
> text to the same indent level as the beginning of the line, instead of
> wrapping it all the way back to the margin.

But isn't wrapped text something different than text that is purposely
split across multiple lines with a newline character? That's usually
the case when I need to split up a long string.




More information about the Python-list mailing list