[Python-Dev] Can we triple quoted string as a comment?

R. David Murray rdmurray at bitdance.com
Tue Mar 26 14:28:51 CET 2013


On Mon, 25 Mar 2013 18:16:47 -0700, Raymond Hettinger <raymond.hettinger at gmail.com> wrote:
> If you're editing with Emacs, it is really easy to reflow paragraphs
> and to insert or remove multiline comments each prefixed with #.
> But with other editors, it can be a PITA and a multiline string is
> the easiest to maintain and works well when cutting-and-pasting
> the comments from somewhere else.

Just FYI it is also very easy in vim: gq plus whatever movement prefix
suits the situation.

--David


More information about the Python-Dev mailing list