[Python-checkins] cpython (3.4): 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/6858a2636931
changeset: 93785:6858a2636931
branch: 3.4
parent: 93783:b2ee06684b6a
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon Dec 08 12:30:10 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