[Python-Dev] Can we triple quoted string as a comment? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Tue Mar 26 14:55:05 CET 2013
- Previous message: [Python-Dev] Can we triple quoted string as a comment?
- Next message: [Python-Dev] Can we triple quoted string as a comment?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le Tue, 26 Mar 2013 09:28:51 -0400, "R. David Murray" <rdmurray at bitdance.com> a écrit :
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.
And on a user-friendly editor such as Kate, you can press Ctrl+D.
Regards
Antoine.
- Previous message: [Python-Dev] Can we triple quoted string as a comment?
- Next message: [Python-Dev] Can we triple quoted string as a comment?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]