Case Sensitive, Multiline Comments

Leif K-Brooks eurleif at ecritters.biz
Mon May 30 09:25:27 EDT 2005


Roy Smith wrote:
> Just wait until the day you're trying to figure out why some C++ function 
> is behaving the way it is and you don't notice that a 50-line stretch of 
> code is commented out with /* at the top and */ at the bottom.

The same thing's happened to me in Python when I accidentally included a
function's code in its docstring (don't ask me how I managed to do that
-- I don't know). But my editor's syntax highlighting helped me to find
the error very quickly.



More information about the Python-list mailing list