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.

Attachment: pgpEOkrYjHYZq.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to