This file is indexed.

/usr/lib/python2.7/dist-packages/pysrt/compat.py is in python-pysrt 1.0.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
12
13
14
15
16
17
18
19
20
21
22
23
import sys

# Syntax sugar.
_ver = sys.version_info

#: Python 2.x?
is_py2 = (_ver[0] == 2)

#: Python 3.x?
is_py3 = (_ver[0] == 3)

from io import open as io_open

if is_py2:
    builtin_str = str
    basestring = basestring
    str = unicode
    open = io_open
elif is_py3:
    builtin_str = str
    basestring = (str, bytes)
    str = str
    open = open