Skip to content

Commit 276b4c1

Browse files
mohammedgqudahlkollar
authored andcommitted
fix comment reference from man 7 signal to man 7 signal-safety (python#138554)
docs: fix comment reference from man 7 signal to man 7 signal-safety
1 parent 5da862a commit 276b4c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Modules/_posixsubprocess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ reset_signal_handlers(const sigset_t *child_sigmask)
630630
* (v)fork to set things up and call exec().
631631
*
632632
* All of the code in this function must only use async-signal-safe functions,
633-
* listed at `man 7 signal` or
633+
* listed at `man 7 signal-safety` or
634634
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
635635
*
636636
* This restriction is documented at

Modules/signalmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ signal_install_handlers(void)
19431943
/* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL.
19441944
*
19451945
* All of the code in this function must only use async-signal-safe functions,
1946-
* listed at `man 7 signal` or
1946+
* listed at `man 7 signal-safety` or
19471947
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
19481948
*
19491949
* If this function is updated, update also _posix_spawn() of subprocess.py.

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3595,7 +3595,7 @@ PyOS_getsig(int sig)
35953595

35963596
/*
35973597
* All of the code in this function must only use async-signal-safe functions,
3598-
* listed at `man 7 signal` or
3598+
* listed at `man 7 signal-safety` or
35993599
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
36003600
*/
36013601
PyOS_sighandler_t

0 commit comments

Comments
 (0)