/usr/lib/python2.7/dist-packages/PILcompat/ImageMath.py is in python-imaging 2.3.0-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1
from PIL.ImageMath import *