This file is indexed.

/usr/share/pyshared/pychess/System/MultiArray.py is in pychess 0.12~beta3-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
from array import array

class MultiArray:

    def __init__ (self, oneLineData, *lengths):
        self.lengths = lengths
        self.data = oneLineData
    
    def get (self, *indexes):
        index = 0
        for depth, i in enumerate(indexes[::-1]):
            index += i*self.lengths[depth]**depth
        return self.data[index]