This file is indexed.

/usr/share/pyshared/traits/protocols/api.py is in python-traits 4.1.0-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
"""Trivial Interfaces and Adaptation from PyProtocols.

This package is a direct copy of a subset of the files from Phillip J. Eby's
PyProtocols package. They are only included here to help remove dependencies
on external packages from the Traits package. The only significant change is
the inclusion of a setup.py file.
"""

from __future__ import absolute_import

from .protocols import (adapt, declareAdapterForType, declareAdapterForProtocol,
    declareAdapterForObject, advise, declareImplementation, declareAdapter,
    adviseObject, InterfaceClass, Protocol, addClassAdvisor, AdaptationFailure)