[Python-Dev] Can we triple quoted string as a comment? (original) (raw)
Xavier de Gaye xdegaye at gmail.com
Thu Mar 28 12:58:17 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 ]
On Tue, Mar 26, 2013 at 2:28 PM, R. David Murray wrote:
On Mon, 25 Mar 2013 18:16:47 -0700, Raymond Hettinger 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 to comment out multiple lines in vim, each prefixed with #, see ":help v_b_I" and ":help v_b_I_example".
Xavier
- 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 ]