This file is indexed.

/usr/lib/python3/dist-packages/shapely/predicates.py is in python3-shapely 1.3.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
14
15
16
17
18
19
20
21
22
"""
Support for GEOS spatial predicates
"""

from shapely.topology import Delegating

class BinaryPredicate(Delegating):
    def __call__(self, this, other, *args):
        self._validate(this)
        self._validate(other, stop_prepared=True)
        return self.fn(this._geom, other._geom, *args)

class RelateOp(Delegating):
    def __call__(self, this, other):
        self._validate(this)
        self._validate(other, stop_prepared=True)
        return self.fn(this._geom, other._geom)

class UnaryPredicate(Delegating):
    def __call__(self, this):
        self._validate(this)
        return self.fn(this._geom)