From 5eee848299f6003819e18dd9e9bdc3acc6f34b42 Mon Sep 17 00:00:00 2001 From: Robert Kulagowski Date: Wed, 18 May 2022 15:25:18 -0500 Subject: [PATCH] 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) --- doc/build/tutorial/dbapi_transactions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") .. -- 2.47.3