def METHOD_NAME(chr: int) -> None:
    """
    kbd_intr(chr)
    Sets the character that triggers a ``KeyboardInterrupt`` exception when
    you type it in the input window. By default it is set to ``3``,
    which corresponds to pressing :kbd:`Ctrl` :kbd:`C`.
    Arguments:
        chr (int): Character that should raise the ``KeyboardInterrupt``.
            Choose ``-1`` to disable this feature.
    """