Skip to content

Commit 8a1e8a1

Browse files
authored
Update signal.rst
1 parent bb85af3 commit 8a1e8a1

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

Doc/library/signal.rst

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@ The variables defined in the :mod:`signal` module are:
205205

206206
.. availability:: Unix.
207207

208-
.. data:: SIGPROF
209-
210-
Profiling timer expired.
211-
212-
.. availability:: Unix.
213-
214208
.. data:: SIGQUIT
215209

216210
Terminal quit signal.
@@ -253,6 +247,12 @@ The variables defined in the :mod:`signal` module are:
253247

254248
.. availability:: Unix.
255249

250+
.. data:: SIGPROF
251+
252+
Profiling timer expired.
253+
254+
.. availability:: Unix.
255+
256256
.. data:: SIGVTALRM
257257

258258
Virtual timer expired.
@@ -265,12 +265,18 @@ The variables defined in the :mod:`signal` module are:
265265

266266
.. availability:: Unix.
267267

268+
.. data:: SIGXCPU
269+
270+
CPU time limit exceeded.
271+
272+
.. availability:: Unix.
273+
268274
.. data:: SIG*
269275

270276
All the signal numbers are defined symbolically. For example, the hangup signal
271277
is defined as :const:`signal.SIGHUP`; the variable names are identical to the
272278
names used in C programs, as found in ``<signal.h>``. The Unix man page for
273-
'``signal``' lists the existing signals (on some systems this is
279+
':c:func:`!signal`' lists the existing signals (on some systems this is
274280
:manpage:`signal(2)`, on others the list is in :manpage:`signal(7)`). Note that
275281
not all systems define the same set of signal names; only those names defined by
276282
the system are defined by this module.
@@ -666,8 +672,9 @@ The :mod:`signal` module defines the following functions:
666672
*sigset*.
667673

668674
The return value is an object representing the data contained in the
669-
``siginfo_t`` structure, namely: ``si_signo``, ``si_code``,
670-
``si_errno``, ``si_pid``, ``si_uid``, ``si_status``, ``si_band``.
675+
:c:type:`siginfo_t` structure, namely: :attr:`!si_signo`, :attr:`!si_code`,
676+
:attr:`!si_errno`, :attr:`!si_pid`, :attr:`!si_uid`, :attr:`!si_status`,
677+
:attr:`!si_band`.
671678

672679
.. availability:: Unix.
673680

0 commit comments

Comments
 (0)