]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-98930: improve the docstring of signal.strsignal (GH-99290) (#99449)
authorGregory P. Smith <greg@krypto.org>
Sun, 13 Nov 2022 20:21:19 +0000 (12:21 -0800)
committerGitHub <noreply@github.com>
Sun, 13 Nov 2022 20:21:19 +0000 (12:21 -0800)
commit51c68cf466ea7886fce05706a5870aac94b971b3
tree3ea98d0c5af6d1baa280e8f29f550e6413cc6e92
parentbf76d9bd4dd7ef2a3467f637cfdff0215d922553
[3.11] gh-98930: improve the docstring of signal.strsignal (GH-99290) (#99449)

Improves the docstring on signal.strsignal to make it explain when it returns a message, None, or when it raises ValueError.

Closes GH-98930

Co-authored-by: Gregory P. Smith <greg@krypto.org>.
(cherry picked from commit 88385b856490a5ce3c99160bde6050638f81f72e)

Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
Doc/library/signal.rst
Modules/clinic/signalmodule.c.h
Modules/signalmodule.c