goto statement

R. C. James Harlow james at wrong.nu
Thu Apr 21 13:13:21 EDT 2005


On Thursday 21 April 2005 17:42, Maxim Kasimov wrote:
> > Have you tried the triple quote comment technique?

> how do use this here:

Simple.

> sql = '''
> some long query
> '''

Change this to:

sql = """
some long query
"""

since you shouldn't be using multiple quoting styles in one module, any more 
than you should be using multiple casing styles.

Then just put single quotes around the place where you want to comment. Not 
hard, is it?

james.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050421/08fe33cb/attachment.sig>


More information about the Python-list mailing list