Message206990
There is unused variable t in Lib/sqlite3/test/factory.py.
def CheckSqliteRowAsTuple(self):
"""Checks if the row object can be converted to a tuple"""
self.con.row_factory = sqlite.Row
row = self.con.execute("select 1 as a, 2 as b").fetchone()
t = tuple(row)
def CheckSqliteRowAsDict(self):
Attached the patch to give the purpose to variable t. |
|
Date |
User |
Action |
Args |
2013-12-27 10:56:02 | vajrasky | set | recipients:
+ vajrasky |
2013-12-27 10:56:02 | vajrasky | set | messageid: <1388141762.46.0.0728784342465.issue20080@psf.upfronthosting.co.za> |
2013-12-27 10:56:02 | vajrasky | link | issue20080 messages |
2013-12-27 10:56:02 | vajrasky | create | |
|