xrange is no longer existed in Python 3, to make PY2 & PY3 compatible for running docs/tutorial_ctable.ipynb, I made an alias for xrange function in PY2:
import sys
if sys.version_info[0] == 2:
range = xrange
Coverage increased (+0.02%) to 66.872% when pulling 63a890e1ce36628ce2ae9250370c73da14ea1bfa on bingyao:doc_tutorial_ctable_compatible_fix into 00044a1f26b174eef78bd46b8b36da90ee017173 on Blosc:master.
Changes made in this PR:
xrange
is no longer existed in Python 3, to make PY2 & PY3 compatible for runningdocs/tutorial_ctable.ipynb
, I made an alias forxrange
function in PY2: