Also restore pycompat.{String,Bytes}IO.

This commit is contained in:
Robert Lehmann
2015-02-14 11:16:41 +01:00
parent 67ea6ddb97
commit b9cd85ad41

View File

@@ -111,6 +111,7 @@ import warnings
from six import class_types
from six.moves import zip_longest
import io
from itertools import product
class _DeprecationWrapper(object):
@@ -135,4 +136,6 @@ sys.modules[__name__] = _DeprecationWrapper(sys.modules[__name__], dict(
open = open,
base_exception = BaseException,
relpath = __import__('os').path.relpath,
StringIO = io.StringIO,
BytesIO = io.BytesIO,
))