Skip to content

Commit 21dabea

Browse files
author
y-p
committed
CLN: eliminate bootstrapping issue form generate_code.py
1 parent 38cc8bb commit 21dabea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/src/generate_code.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
from __future__ import print_function
2-
from pandas.compat import range, cStringIO as StringIO
2+
# we only need to be able to run this file on 2.7
3+
# don't introduce a pandas/pandas.compat import
4+
# or we get a bootstrapping problem
5+
from StringIO import StringIO
36
import os
47

58
header = """

0 commit comments

Comments
 (0)