# mode: compile

cdef class Spam:

    def __index__(self):
        return 42
