Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review: drop unneeded parens
  • Loading branch information
Erlend E. Aasland committed May 11, 2021
commit 8e790187f9b302baf4791466ccdff0de114ee3d2
2 changes: 1 addition & 1 deletion Doc/includes/sqlite3/execsql_fetchonerow.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# 1. Iterate over the rows available from the cursor, unpacking the
# resulting sequences to yield their elements (name, first_appeared):
cur.execute(SELECT)
for (name, first_appeared) in cur:
for name, first_appeared in cur:
print(f"The {name} programming language appeared in {first_appeared}.")

# 2. Equivalently:
Expand Down