Changeset 215 for trunk/docs


Ignore:
Timestamp:
Oct 26, 2005, 12:53:57 PM (14 years ago)
Author:
darcy
Message:

Python requires triple quotes (or backslashes) for multi-line strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/pg.txt

    r213 r215  
    597597
    598598  for r in db.query( # just for example
    599       "SELECT foo,bar
     599      """SELECT foo,bar
    600600         FROM foo_bar_table
    601         WHERE foo !~ bar"
     601         WHERE foo !~ bar"""
    602602      ).dictresult():
    603603
Note: See TracChangeset for help on using the changeset viewer.