summaryrefslogtreecommitdiffstats
path: root/Lib/selectors.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-12-08 17:30:10 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-12-08 17:30:10 (GMT)
commitdfc44e0525f87eea47607290aaa7eab4abecca4a (patch)
tree71fb034c16533064dca4a0f408c1450dad821576 /Lib/selectors.py
parentd60ef4aa9daff89af06117e7e2ae83adfb8c9dce (diff)
downloadcpython-dfc44e0525f87eea47607290aaa7eab4abecca4a.zip
cpython-dfc44e0525f87eea47607290aaa7eab4abecca4a.tar.gz
cpython-dfc44e0525f87eea47607290aaa7eab4abecca4a.tar.bz2
selectors: Fix typo in comment.
Diffstat (limited to 'Lib/selectors.py')
-rw-r--r--Lib/selectors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/selectors.py b/Lib/selectors.py
index 25b8d79..e4ad4cb 100644
--- a/Lib/selectors.py
+++ b/Lib/selectors.py
@@ -419,7 +419,7 @@ if hasattr(select, 'epoll'):
# 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)