This file is indexed.

/usr/lib/python2.7/dist-packages/shapely/validation.py is in python-shapely 1.4.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
# TODO: allow for implementations using other than GEOS

import sys

from shapely.geos import lgeos

def explain_validity(ob):
    return lgeos.GEOSisValidReason(ob._geom)