Skip to content

Commit ae91b4b

Browse files
[3.14] pythongh-101100: Fix Sphinx warnings in Doc/library/signal.rst (pythonGH-139930) (pythonGH-139966)
pythongh-101100: Fix Sphinx warnings in `Doc/library/signal.rst` (pythonGH-139930) (cherry picked from commit 447c7a8) Co-authored-by: Weilin Du <[email protected]>
1 parent 187588e commit ae91b4b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Doc/library/signal.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ The variables defined in the :mod:`signal` module are:
270270
All the signal numbers are defined symbolically. For example, the hangup signal
271271
is defined as :const:`signal.SIGHUP`; the variable names are identical to the
272272
names used in C programs, as found in ``<signal.h>``. The Unix man page for
273-
':c:func:`signal`' lists the existing signals (on some systems this is
273+
'``signal``' lists the existing signals (on some systems this is
274274
:manpage:`signal(2)`, on others the list is in :manpage:`signal(7)`). Note that
275275
not all systems define the same set of signal names; only those names defined by
276276
the system are defined by this module.
@@ -661,9 +661,8 @@ The :mod:`signal` module defines the following functions:
661661
*sigset*.
662662

663663
The return value is an object representing the data contained in the
664-
:c:type:`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`,
665-
:attr:`si_errno`, :attr:`si_pid`, :attr:`si_uid`, :attr:`si_status`,
666-
:attr:`si_band`.
664+
``siginfo_t`` structure, namely: ``si_signo``, ``si_code``,
665+
``si_errno``, ``si_pid``, ``si_uid``, ``si_status``, ``si_band``.
667666

668667
.. availability:: Unix.
669668

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Doc/library/profile.rst
2929
Doc/library/pyexpat.rst
3030
Doc/library/resource.rst
3131
Doc/library/select.rst
32-
Doc/library/signal.rst
3332
Doc/library/smtplib.rst
3433
Doc/library/socket.rst
3534
Doc/library/ssl.rst

0 commit comments

Comments
 (0)