/usr/lib/python3/dist-packages/jellyfish/compat.py is in python3-jellyfish 0.5.6-3build2.
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 | import sys
import itertools
IS_PY3 = sys.version_info[0] == 3
if IS_PY3:
_range = range
_zip_longest = itertools.zip_longest
_no_bytes_err = 'expected str, got bytes'
else:
_range = xrange
_zip_longest = itertools.izip_longest
_no_bytes_err = 'expected unicode, got str'
|