Comments
Pete Shinners
shredwheat at attbi.com
Wed May 8 12:21:12 EDT 2002
Rajat Chopra wrote:
> Does anyone know if Python supports multi-line comments? I believe Java
> and C++ (and even non-ANSI C) have /* ... */ for multi-line. Does Python
> have anything comparable?
there is no multiline comment. sometimes you can 'cheat' this by using
multiline strings...
"""
myfile.py
used to create all manner of neat functions
blah(x,y,z)
changelog:
joe on 1-1-01: added neat funcs
mark on 1-2-01: removed neat funcs
"""
More information about the Python-list
mailing list