/usr/lib/python3/dist-packages/xattr/compat.py is in python3-xattr 0.9.1-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 | """Python 3 compatibility shims
"""
import sys
if sys.version_info[0] < 3:
integer_types = (int, long)
text_type = unicode
binary_type = str
else:
integer_types = (int,)
text_type = str
binary_type = bytes
|