From: Robert Kulagowski Date: Wed, 18 May 2022 20:25:18 +0000 (-0500) Subject: Update dbapi_transactions.rst (#8032) X-Git-Tag: rel_1_4_37~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eee848299f6003819e18dd9e9bdc3acc6f34b42;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update dbapi_transactions.rst (#8032) If you're defining 'y=row.y' then you might as well use 'y' in the print statement. (cherry picked from commit b66d57451ad28572c000490c10e451cbf600a9d1) --- diff --git a/doc/build/tutorial/dbapi_transactions.rst b/doc/build/tutorial/dbapi_transactions.rst index 0249702ef6..a9dff8f385 100644 --- a/doc/build/tutorial/dbapi_transactions.rst +++ b/doc/build/tutorial/dbapi_transactions.rst @@ -270,7 +270,7 @@ Below we illustrate a variety of ways to access rows. y = row.y # illustrate use with Python f-strings - print(f"Row: {row.x} {row.y}") + print(f"Row: {row.x} {y}") ..