Skip to content

Commit 602cd7d

Browse files
committed
Fix error in doc example
1 parent d4d1637 commit 602cd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def one(self, sql, parameters=None, strict=None):
307307
:py:attr:`strict_one` to the :py:class:`~postgres.Postgres`
308308
constructor. If you use both, the :py:attr:`strict` argument here wins.
309309
310-
>>> row = db.one("SELECT * FROM foo WHERE bar='baz'"):
310+
>>> row = db.one("SELECT * FROM foo WHERE bar='baz'")
311311
>>> print(row["bar"])
312312
baz
313313

0 commit comments

Comments
 (0)