]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
doc: fix formatting of SQL command in documentation
authorAo Liu, Ph.D., CSM <frankliuao@gmail.com>
Sat, 30 Aug 2025 00:36:23 +0000 (19:36 -0500)
committerGitHub <noreply@github.com>
Sat, 30 Aug 2025 00:36:23 +0000 (01:36 +0100)
docs/basic/from_pg2.rst

index 53ac661a4a85f6bf62cde1d97807e50e582a4c35..b1fa2e0a49981377b7f9fd7ede745070cb4ecb68 100644 (file)
@@ -144,7 +144,7 @@ can compose a multiple query on the client side and run them all in the same
 
     >>> from psycopg import sql
     >>> conn.execute(
-    ...     sql.SQL("INSERT INTO foo VALUES ({}); INSERT INTO foo values ({})"
+    ...     sql.SQL("INSERT INTO foo VALUES ({}); INSERT INTO foo values ({})")
     ...     .format(10, 20))
 
 or a :ref:`client-side binding cursor <client-side-binding-cursors>`::