/usr/lib/python3/dist-packages/ansi/_compat.py is in python3-ansi 0.1.3-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 | import sys
PY2 = sys.version_info[0] == 2
if PY2:
string_types = basestring
else:
string_types = (str, bytes)
|