Skip to content

Commit

Permalink
Minor text cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Feb 11, 2022
1 parent 500a702 commit 54d203a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scalene/replacement_signal_fns.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def replacement_signal(signum, handler):
timer_signal, cpu_signal = scalene.get_timer_signals()
timer_signal_str = signal.strsignal(signum)
if signum == cpu_signal:
print(f"WARNING: Scalene uses {timer_signal_str} to profile. If you manually raise {timer_signal_str} from non-python code, use SIGUSR1. "
"If you raise signals from inside Python code, they will be rerouted." )
print(f"WARNING: Scalene uses {timer_signal_str} to profile. If your code raises {timer_signal_str} from non-Python code, use SIGUSR1. "
"Code that raises signals from within Python code will be rerouted." )
return old_signal(new_cpu_signal, handler)
if signum in all_signals:
print("Error: Scalene cannot profile your program because it (or one of its packages) "
Expand Down

0 comments on commit 54d203a

Please sign in to comment.