summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
authorThomas Roten <thomas@roten.us>2015-03-28 16:14:27 -0400
committerThomas Roten <thomas@roten.us>2015-03-28 16:14:27 -0400
commit541fba67866833e43b741c50bcfccec914c36834 (patch)
tree6ebb73bd165144a9f7bc3fc53fe09502219ca1d1 /tablib/core.py
parent2fbda0f43ddf1d2f3a2fe88b9320b8d04f449d4d (diff)
downloadtablib-541fba67866833e43b741c50bcfccec914c36834.tar.gz
Fixes Row slicing. Fixes #184.
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py
index f8e2df7..7afdd71 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -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]