[Python-ideas] Multi-line comment blocks.
Antoine Pitrou
solipsis at pitrou.net
Fri Jun 15 12:33:54 CEST 2012
On Fri, 15 Jun 2012 02:49:18 -0600
David Gates <gatesda at gmail.com> wrote:
> Multi-line strings as comments don't nest, don't play well with docstrings,
> and are counter-intuitive when there's special language support for
> single-line comments. Python should only have one obvious way to do things,
> and Python has two ways to comment, only one of which is obvious. My
> suggestion is to add language support for comment blocks, using Python's
> existing comment delimiter:
Any decent text editor has a way to comment and uncomment whole blocks
of text (in Kate, it is Ctrl+D IIRC).
Regards
Antoine.
More information about the Python-ideas
mailing list