Author: Brian Kearns <bdkea...@gmail.com> Branch: Changeset: r62273:b09b4f5c8026 Date: 2013-03-09 15:09 -0500 http://bitbucket.org/pypy/pypy/changeset/b09b4f5c8026/
Log: this variable is internal diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -1193,9 +1193,9 @@ self.__row_cast_map.append(converter) def _readahead(self, cursor): - self.column_count = _lib.sqlite3_column_count(self._statement) row = [] - for i in xrange(self.column_count): + num_cols = _lib.sqlite3_column_count(self._statement) + for i in xrange(num_cols): if self.__con._detect_types: converter = self.__row_cast_map[i] else: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit