Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r47034:a8027ddfe2b2
Date: 2011-09-02 18:25 -0400
http://bitbucket.org/pypy/pypy/changeset/a8027ddfe2b2/

Log:    remove completely misnamed method after the previous commit.

diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py
--- a/lib_pypy/_sqlite3.py
+++ b/lib_pypy/_sqlite3.py
@@ -293,7 +293,7 @@
         #
         if stat.in_use:
             stat = Statement(self.connection, sql)
-        stat.set_cursor_and_factory(cursor, row_factory)
+        stat.set_row_factory(row_factory)
         return stat
 
 
@@ -914,8 +914,7 @@
         self.exhausted = False
         self.in_use = False
         #
-        # set by set_cursor_and_factory
-        self.cur = None
+        # set by set_row_factory
         self.row_factory = None
 
         self.statement = c_void_p()
@@ -937,7 +936,7 @@
 
         self._build_row_cast_map()
 
-    def set_cursor_and_factory(self, cur, row_factory):
+    def set_row_factory(self, row_factory):
         self.row_factory = row_factory
 
     def _build_row_cast_map(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to