def METHOD_NAME():
    """Index of subclass of tuple with __getitem__ in superclass is None"""
    class TupleTest(tuple):
        """Subclass of tuple with custom __getitem__"""
        def __getitem__(self, index):
            """Allow non-integer indices"""
            return 0
    class SubTupleTest(TupleTest):
        """Subclass of a subclass of tuple"""
        pass
    return SubTupleTest()[None] # no error