Comments within a line

Edward Diener eldiener at earthlink.net
Fri Jul 30 22:07:10 EDT 2004


Has there ever been any discussion of adding comments notation to Python,
such as C++'s /* */, which could occur in the middle of a line or span
multiple lines ? I would like to see it as a more elegant solution for
quickly commenting out code. I am aware of the """ """ technique around
multiple lines but even that seems a poor hack. A comment that could enclose
any sequence of characters would be most welcome.





More information about the Python-list mailing list