summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2019-10-19 19:58:20 +0300
committerHugo <hugovk@users.noreply.github.com>2019-10-19 20:01:07 +0300
commite4ac50260e7d3dd3c175741624721210a6c1d7f9 (patch)
treeab798b5c3879d384d522adce2dc476442ba000a0 /src
parent7347d07624664bb3fd525c2fe68d4aa86cab32fe (diff)
downloadtablib-e4ac50260e7d3dd3c175741624721210a6c1d7f9.tar.gz
__getslice__ is deprecated since Python 2.0 and it is not available in Python 3
https://docs.python.org/2/reference/datamodel.html#object.__getslice__
Diffstat (limited to 'src')
-rw-r--r--src/tablib/core.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tablib/core.py b/src/tablib/core.py
index 335927e..61c7a50 100644
--- a/src/tablib/core.py
+++ b/src/tablib/core.py
@@ -40,9 +40,6 @@ class Row:
def __repr__(self):
return repr(self._row)
- def __getslice__(self, i, j):
- return self._row[i:j]
-
def __getitem__(self, i):
return self._row[i]