why no block comments in Python?

Fredrik Lundh fredrik at pythonware.com
Wed Mar 8 10:40:05 EST 2006


John Salerno wrote:

> I'm still tyring to figure out what "Pythonic" means, and I have a
> feeling the answer to my question may fall into that category. Are block
> comments somehow unpythonic?

only in the sense that python don't have them.

but they're pretty pointless, if you have a modern editor.

(and if you don't, you can quickly comment out regions by putting them
inside a triple-quoted string.)

</F>






More information about the Python-list mailing list