basabuuka_prototyp/venv/lib/python3.5/site-packages/thinc/compat.py
2020-08-16 19:36:44 +02:00

9 lines
170 B
Python

try:
basestring = basestring
except NameError:
basestring = str
try:
from StringIO import StringIO as BytesIO
except ImportError:
from io import BytesIO