summaryrefslogtreecommitdiff
path: root/pies/StringIO.py
blob: d954a41231ea55d5e9f67d4b5cfcbdc05ee9c283 (plain)
1
2
3
4
5
6
7
8
9
10
11
from __future__ import absolute_import

from .version_info import PY3

if PY3:
    from io import StringIO
else:
    try:
        from cStringIO import *
    except ImportError:
        from StringIO import *