[Python-ideas] Multi-line comment blocks.

Paul Moore p.f.moore at gmail.com
Sat Jun 16 10:56:49 CEST 2012

On 16 June 2012 02:00, David Gates <gatesda at gmail.com> wrote:
> A Perl nested comment:
> =for
>   Comment
>   =for
>     Nested comment
>   =cut
> =cut

And the irony is that, as far as I recall, this is a form of Perl's
embedded documentation syntax (and hence very similar in spirit to
using multiline strings as comments). See
http://www.perl6.org/archive//rfc/5.html (and note that perl 6 does
*not*, apparently, include multiline comments).


More information about the Python-ideas mailing list