This file is indexed.

/usr/lib/python3/dist-packages/pathspec/compat.py is in python3-pathspec 0.3.4-0ubuntu1.

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
# encoding: utf-8
"""
This module provides compatibility between Python 2 and 3. Hardly
anything is used by this project to constitute including `six`_.

.. _`six`: http://pythonhosted.org/six
"""

import sys

if sys.version_info[0] < 3:
	# Python 2.
	string_types = (basestring,)

	def viewkeys(mapping):
		return mapping.viewkeys()

else:
	# Python 3.
	string_types = (str,)

	def viewkeys(mapping):
		return mapping.keys()