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
Fix expected output in namedtuple row factory doctest
  • Loading branch information
erlend-aasland committed Nov 15, 2022
commit 0e7ea3b5c79f265fc58637bff97ff5ccdd8ef4ac
2 changes: 1 addition & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,7 @@ Example use:
>>> cur = con.execute("SELECT 1 AS a, 2 AS b")
>>> row = cur.fetchone()
>>> row
Row(a='1', b='2')
Row(a=1, b=2)
>>> row[0] # Indexed access.
1
>>> row.b # Attribute access.
Expand Down