Simplify
This commit is contained in:
parent
94968f3151
commit
cc13b7889d
@ -26,10 +26,7 @@ except:
|
|||||||
try:
|
try:
|
||||||
from StringIO import StringIO
|
from StringIO import StringIO
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
from io import BytesIO as StringIO
|
||||||
from StringIO import StringIO
|
|
||||||
except ImportError:
|
|
||||||
from io import BytesIO as StringIO
|
|
||||||
|
|
||||||
def strjoin(iterable):
|
def strjoin(iterable):
|
||||||
return ''.join(iterable)
|
return ''.join(iterable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user