]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Corrected output on docs and a missing {stop} that prevented python results from...
authorMichael Trier <mtrier@gmail.com>
Fri, 12 Dec 2008 21:59:33 +0000 (21:59 +0000)
committerMichael Trier <mtrier@gmail.com>
Fri, 12 Dec 2008 21:59:33 +0000 (21:59 +0000)
doc/build/sqlexpression.rst

index fea1cce0022243c23cb418c64ebf5bf77249f986..70aaf6dced0d75e30a8afbd0cac82a8e89e4e704 100644 (file)
@@ -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: