basabuuka_prototyp/venv/lib/python3.5/site-packages/thinc/compat.py

10 lines
170 B
Python
Raw Normal View History

2020-08-16 19:36:44 +02:00
try:
basestring = basestring
except NameError:
basestring = str
try:
from StringIO import StringIO as BytesIO
except ImportError:
from io import BytesIO