def METHOD_NAME(  # type: ignore[override]  # length: None will error. See: https://github.com/python-xlib/python-xlib/pull/248
    self, data: SliceableBuffer, display: Unused, length: int, fmt: Unused
) -> tuple[ButtonMask, SliceableBuffer]: ...