Changeset 391 for python/trunk/Doc/library/signal.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/signal.rst
r2 r391 70 70 is defined as :const:`signal.SIGHUP`; the variable names are identical to the 71 71 names used in C programs, as found in ``<signal.h>``. The Unix man page for 72 ':c func:`signal`' lists the existing signals (on some systems this is72 ':c:func:`signal`' lists the existing signals (on some systems this is 73 73 :manpage:`signal(2)`, on others the list is in :manpage:`signal(7)`). Note that 74 74 not all systems define the same set of signal names; only those names defined by 75 75 the system are defined by this module. 76 77 78 .. data:: CTRL_C_EVENT 79 80 The signal corresponding to the CTRL+C keystroke event. This signal can 81 only be used with :func:`os.kill`. 82 83 Availability: Windows. 84 85 .. versionadded:: 2.7 86 87 88 .. data:: CTRL_BREAK_EVENT 89 90 The signal corresponding to the CTRL+BREAK keystroke event. This signal can 91 only be used with :func:`os.kill`. 92 93 Availability: Windows. 94 95 .. versionadded:: 2.7 76 96 77 97 … … 185 205 exception to be raised. 186 206 207 .. versionadded:: 2.6 208 187 209 188 210 .. function:: siginterrupt(signalnum, flag) … … 195 217 Note that installing a signal handler with :func:`signal` will reset the 196 218 restart behaviour to interruptible by implicitly calling 197 :c func:`siginterrupt` with a true *flag* value for the given signal.219 :c:func:`siginterrupt` with a true *flag* value for the given signal. 198 220 199 221 .. versionadded:: 2.6 … … 216 238 see the :ref:`description in the type hierarchy <frame-objects>` or see the 217 239 attribute descriptions in the :mod:`inspect` module). 240 241 On Windows, :func:`signal` can only be called with :const:`SIGABRT`, 242 :const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`, or 243 :const:`SIGTERM`. A :exc:`ValueError` will be raised in any other case. 218 244 219 245
Note:
See TracChangeset
for help on using the changeset viewer.