From: Michael Trier Date: Fri, 12 Dec 2008 21:59:33 +0000 (+0000) Subject: Corrected output on docs and a missing {stop} that prevented python results from... X-Git-Tag: rel_0_5_0~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c712af4d4ccea6f5dc7976d33637fe3e1a7df99f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Corrected output on docs and a missing {stop} that prevented python results from displaying in the docs. --- 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: