__getslice__ method of Row classcorrected

This commit is contained in:
rabinnankhwa
2014-08-30 08:26:08 +05:45
parent 48e576954d
commit 20e2ce5ba0
+1 -1
View File
@@ -45,7 +45,7 @@ class Row(object):
return repr(self._row)
def __getslice__(self, i, j):
return self._row[i,j]
return self._row[i:j]
def __getitem__(self, i):
return self._row[i]