From c712af4d4ccea6f5dc7976d33637fe3e1a7df99f Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Fri, 12 Dec 2008 21:59:33 +0000 Subject: [PATCH] Corrected output on docs and a missing {stop} that prevented python results from displaying in the docs. --- doc/build/sqlexpression.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build/sqlexpression.rst b/doc/build/sqlexpression.rst index fea1cce002..70aaf6dced 100644 --- a/doc/build/sqlexpression.rst +++ b/doc/build/sqlexpression.rst @@ -250,7 +250,7 @@ Above, we see that printing each row produces a simple tuple-like result. We ha FROM users [] - >>> row = result.fetchone() + {stop}>>> row = result.fetchone() >>> print "name:", row['name'], "; fullname:", row['fullname'] name: jack ; fullname: Jack Jones @@ -260,7 +260,7 @@ Integer indexes work as well: >>> row = result.fetchone() >>> print "name:", row[1], "; fullname:", row[2] - name: wendy ; fullname: Wendy Williams + name: jack ; fullname: Jack Jones But another way, whose usefulness will become apparent later on, is to use the ``Column`` objects directly as keys: -- 2.47.3