[Python-ideas] Multi-line comment blocks.
David Gates
gatesda at gmail.com
Sat Jun 16 03:00:10 CEST 2012
A Perl nested comment:
=for
Comment
=for
Nested comment
=cut
=cut
On Fri, Jun 15, 2012 at 6:47 PM, MRAB <python at mrabarnett.plus.com> wrote:
> On 16/06/2012 01:28, David Gates wrote:
>
>> Perl, Ruby, Lisps, OCaml, F#, Haskell, and I believe Pascal. There are
>> probably others. None of these use significant indentation; they're
>> just smart enough to not ignore beginning delimiters within multi-line
>> comments.
>>
>> In Pascal, comments start with "{" or "(*" and end with "}" or "*)".
>
> How do you write a nested comment in Perl? As far as I'm aware, it
> doesn't have nested comments either.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120615/6a23dd7a/attachment.html>
More information about the Python-ideas
mailing list