]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98930: improve the docstring of signal.strsignal (#99290)
authorram vikram singh <ramvikrams243@gmail.com>
Sun, 13 Nov 2022 19:41:23 +0000 (01:11 +0530)
committerGitHub <noreply@github.com>
Sun, 13 Nov 2022 19:41:23 +0000 (11:41 -0800)
commit88385b856490a5ce3c99160bde6050638f81f72e
treee020f1630cf7d9f597fc280ccc9f724c32d8dc21
parent343eb0f94b26f2a4c1c15505d417e8157ec19660
gh-98930: improve the docstring of signal.strsignal (#99290)

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

Closes #98930

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/signal.rst
Modules/clinic/signalmodule.c.h
Modules/signalmodule.c