def __getitem__(self, key: tuple[(int, int)]) -> str:
    try:
        return self.pixels[key]
    except KeyError:
        return self.void_pixel
def __getitem__(self, key: tuple[(int, int)]) -> str:
    try:
        return self.pixels[key]
    except KeyError:
        return self.void_pixel