[Python-checkins] peps: Fix markup

andrew.svetlov python-checkins at python.org
Sat Aug 10 01:35:19 CEST 2013


http://hg.python.org/peps/rev/704d80be308a
changeset:   5046:704d80be308a
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Sat Aug 10 02:35:07 2013 +0300
summary:
  Fix markup

files:
  pep-3156.txt |  14 +++++++-------
  1 files changed, 7 insertions(+), 7 deletions(-)


diff --git a/pep-3156.txt b/pep-3156.txt
--- a/pep-3156.txt
+++ b/pep-3156.txt
@@ -721,17 +721,17 @@
 Signal callbacks
 ''''''''''''''''
 
-- ``add_signal_handler(sig, callback, *args).  Whenever signal ``sig``
-  is received, arrange for ``callback(*args)`` to be called.
+- ``add_signal_handler(sig, callback, *args)``.  Whenever signal
+  ``sig`` is received, arrange for ``callback(*args)`` to be called.
   Specifying another callback for the same signal replaces the
   previous handler (only one handler can be active per signal).  The
   ``sig`` must be a valid sigal number defined in the ``signal``
   module.  If the signal cannot be handled this raises an exception:
-  ``ValueError`` if it is not a valid signal or if it is an uncatchable
-  signale (e.g. ``SIGKILL``), ``RuntimeError`` if this particular event
-  loop instance cannot handle signals (since signals are global per
-  process, only an event loop associated with the main thread can
-  handle signals).
+  ``ValueError`` if it is not a valid signal or if it is an
+  uncatchable signale (e.g. ``SIGKILL``), ``RuntimeError`` if this
+  particular event loop instance cannot handle signals (since signals
+  are global per process, only an event loop associated with the main
+  thread can handle signals).
 
 - ``remove_signal_handler(sig)``.  Removes the handler for signal
   ``sig``, if one is set.  Raises the same exceptions as

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list