Skip to content

Commit a1d4d07

Browse files
committed
Fix Python 2 issues
1 parent 49da0e4 commit a1d4d07

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

pandas/indexes/range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pandas.index as _index
66

77
from pandas import compat
8-
from pandas.compat import lrange
8+
from pandas.compat import lrange, range
99
from pandas.indexes.base import Index
1010
from pandas.util.decorators import Appender, cache_readonly
1111
import pandas.core.common as com

pandas/tests/indexes/test_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
13
from datetime import datetime, timedelta
24

35
# TODO(wesm): fix long line flake8 issues

pandas/tests/indexes/test_category.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
13
# TODO(wesm): fix long line flake8 issues
24
# flake8: noqa
35

0 commit comments

Comments
 (0)