Skip to content

Commit

Permalink
🐎 use cStringIO to improve perforamce in python 2, fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Aug 25, 2017
1 parent 80078e7 commit 43d7605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyexcel_io/_compact.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def emit(self, record):
pass

if PY2:
from StringIO import StringIO
from StringIO import StringIO as BytesIO
from cStringIO import StringIO
from cStringIO import StringIO as BytesIO
text_type = unicode
irange = xrange

Expand Down

0 comments on commit 43d7605

Please sign in to comment.