/usr/lib/python3/dist-packages/partd/compatibility.py is in python3-partd 0.3.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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
|