You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/WPy32-3720/python-3.7.2/Lib/site-packages/partd/compatibility.py

15 lines
329 B

6 years ago
from __future__ import absolute_import
import sys
if sys.version_info[0] == 3:
from io import StringIO
unicode = str
import pickle
from queue import Queue, Empty
if sys.version_info[0] == 2:
from StringIO import StringIO
unicode = unicode
import cPickle as pickle
from Queue import Queue, Empty