[Python-ideas] Multi-line comment blocks.

MRAB python at mrabarnett.plus.com
Sat Jun 16 02:47:09 CEST 2012


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.



More information about the Python-ideas mailing list