def stop():
    """
    Stop tracing. Restores previous tracer (if there was any).
    """
    global _last_tracer

    if _last_tracer is not None:
        _last_tracer.stop()
        _last_tracer = None
dataset/ETHPy150Open ionelmc/python-hunter/src/hunter/__init__.py/stop/original