summaryrefslogtreecommitdiff
path: root/table.py
diff options
context:
space:
mode:
authorRémi Cardona <remi.cardona@free.fr>2014-09-22 16:55:01 +0200
committerRémi Cardona <remi.cardona@free.fr>2014-09-22 16:55:01 +0200
commit72bc9434015bd6453add8869fdff951fe12735db (patch)
treeed85c877f6426124b8faa75532fd47d5a69dbb68 /table.py
parent41177464eaff4aed29ac31c94b31d3720c0c1b63 (diff)
downloadlogilab-common-72bc9434015bd6453add8869fdff951fe12735db.tar.gz
Consistently use the generator version of range
That way we get the same behavior on python2 and python3.
Diffstat (limited to 'table.py')
-rw-r--r--table.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/table.py b/table.py
index 122e368..2f3df69 100644
--- a/table.py
+++ b/table.py
@@ -21,6 +21,7 @@ from __future__ import print_function
__docformat__ = "restructuredtext en"
+from six.moves import range
class Table(object):
"""Table defines a data table with column and row names.