def METHOD_NAME():
    r"""Show stack trace on SIGQUIT (Ctrl-\) or SIGINFO (Ctrl-T on macOS)."""
    import signal
    import sys
    if sys.platform != "win32":
        signal.signal(signal.SIGQUIT, _sigshow)
    try:
        signal.signal(signal.SIGINFO, _sigshow)  # only available on macOS
    except AttributeError:
        pass
    yield