This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients vajrasky
Date 2013-12-27.10:56:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388141762.46.0.0728784342465.issue20080@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-12-27 10:56:02vajraskysetrecipients: + vajrasky
2013-12-27 10:56:02vajraskysetmessageid: <1388141762.46.0.0728784342465.issue20080@psf.upfronthosting.co.za>
2013-12-27 10:56:02vajraskylinkissue20080 messages
2013-12-27 10:56:02vajraskycreate