multiline comments

rx do_not_use_this_email at hotmail.com
Wed Apr 19 15:19:47 EDT 2006


>
> Of course!  You should have used """ since you already used ''' in your
> triple-quoted text.  But I'm just repeating what I already said (and kept
> above so that you can see it again).
>
> -- 
> Jorge Godoy      <godoy at ieee.org>
>

Sorry - I should have read more carefully.
I like the idea and will use it I think.
Still a little strange to newcomers that there are three ways to do the same 
and that you should be carefull to use the right '''/""" inside the comment 
else the comment will not work for some reason.

#comment

'''
comment
'''

"""
comment
""" 





More information about the Python-list mailing list