[Python-checkins] cpython (merge 3.4 -> default): selectors: Fix typo in comment.

yury.selivanov python-checkins at python.org
Mon Dec 8 18:30:51 CET 2014


https://hg.python.org/cpython/rev/f7faceb6c60a
changeset:   93786:f7faceb6c60a
parent:      93784:202995833ef4
parent:      93785:6858a2636931
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Mon Dec 08 12:30:28 2014 -0500
summary:
  selectors: Fix typo in comment.

files:
  Lib/selectors.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/selectors.py b/Lib/selectors.py
--- a/Lib/selectors.py
+++ b/Lib/selectors.py
@@ -419,7 +419,7 @@
                 # from zero to wait *at least* timeout seconds.
                 timeout = math.ceil(timeout * 1e3) * 1e-3
 
-            # epoll_wait() expectcs `maxevents` to be greater than zero;
+            # epoll_wait() expects `maxevents` to be greater than zero;
             # we want to make sure that `select()` can be called when no
             # FD is registered.
             max_ev = max(len(self._fd_to_key), 1)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list