From e89f9571352f42c7752b351ba1e651485e5e7c51 Mon Sep 17 00:00:00 2001 From: Tom Sparrow <793763+sparrowt@users.noreply.github.com> Date: Thu, 19 May 2022 09:38:22 +0100 Subject: [PATCH] Removed unnecessary semicolons in docs about performing raw SQL. --- docs/topics/db/sql.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/db/sql.txt b/docs/topics/db/sql.txt index 0f4d6c3880..93f7724774 100644 --- a/docs/topics/db/sql.txt +++ b/docs/topics/db/sql.txt @@ -315,15 +315,15 @@ immutable and accessible by field names or indices, which might be useful:: Here is an example of the difference between the three:: - >>> cursor.execute("SELECT id, parent_id FROM test LIMIT 2"); + >>> cursor.execute("SELECT id, parent_id FROM test LIMIT 2") >>> cursor.fetchall() ((54360982, None), (54360880, None)) - >>> cursor.execute("SELECT id, parent_id FROM test LIMIT 2"); + >>> cursor.execute("SELECT id, parent_id FROM test LIMIT 2") >>> dictfetchall(cursor) [{'parent_id': None, 'id': 54360982}, {'parent_id': None, 'id': 54360880}] - >>> cursor.execute("SELECT id, parent_id FROM test LIMIT 2"); + >>> cursor.execute("SELECT id, parent_id FROM test LIMIT 2") >>> results = namedtuplefetchall(cursor) >>> results [Result(id=54360982, parent_id=None), Result(id=54360880, parent_id=None)]