On Thu, Apr 19, 2012 at 8:17 PM, Alek Storm <alek.st...@gmail.com> wrote:
>> comment def
>> ... parser completely ignores these lines ...
>> comment break
>
>
> I believe the more Pythonic syntax would be:
>
> comment:
>     ...some
>     ...indented
>     ...lines
>
> God help us if that ever happens.

Certainly not. That completely ignores the whole point of this, which
is to remove a block of lines without editing them all. Anyway,
replace "comment:" with "if 0:" and you have it already. No, this is
something that's parsed before indentation blocks are processed.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to