[Python-checkins] peps: PEP 475: fix typos

victor.stinner python-checkins at python.org
Wed Aug 27 23:17:23 CEST 2014


http://hg.python.org/peps/rev/24d9bf44d671
changeset:   5526:24d9bf44d671
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Aug 27 23:17:15 2014 +0200
summary:
  PEP 475: fix typos

files:
  pep-0475.txt |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/pep-0475.txt b/pep-0475.txt
--- a/pep-0475.txt
+++ b/pep-0475.txt
@@ -135,7 +135,7 @@
   ``SIGINT``
 * Use a I/O multiplexing function like ``select()`` with the Python
   signal "wakeup" file descriptor: see the function
-  ``signal.set_wakeupfd()``.
+  ``signal.set_wakeup_fd()``.
 
 
 Proposition
@@ -184,14 +184,14 @@
 race conditions (deadlock if the signal comes before the system call).
 These applications must be fixed to handle signals differently, to
 have a reliable behaviour on all platforms and all Python versions.
-For example, use a signal handle which raises an exception, or use a
+For example, use a signal handler which raises an exception, or use a
 wakeup file descriptor.
 
 For applications using event loops, ``signal.set_wakeup_fd()`` is the
 recommanded option to handle signals. The signal handler writes signal
 numbers into the file descriptor and the event loop is awaken to read
-them. The event loop can decide how to handle these signals without
-the restriction of signal handlers.
+them. The event loop can handle these signals without the restriction
+of signal handlers.
 
 
 Appendix

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


More information about the Python-checkins mailing list