Skip to content

Commit 447c7a8

Browse files
authored
pythongh-101100: Fix Sphinx warnings in Doc/library/signal.rst (pythonGH-139930)
1 parent cdd3eee commit 447c7a8

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.
@@ -666,9 +666,8 @@ The :mod:`signal` module defines the following functions:
666666
*sigset*.
667667

668668
The return value is an object representing the data contained in the
669-
:c:type:`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`,
670-
:attr:`si_errno`, :attr:`si_pid`, :attr:`si_uid`, :attr:`si_status`,
671-
:attr:`si_band`.
669+
``siginfo_t`` structure, namely: ``si_signo``, ``si_code``,
670+
``si_errno``, ``si_pid``, ``si_uid``, ``si_status``, ``si_band``.
672671

673672
.. availability:: Unix.
674673

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)