summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-12-08 12:31:03 -0500
committerYury Selivanov <yselivanov@sprymix.com>2014-12-08 12:31:03 -0500
commit94dcd8c9e1b14e9d32b7abcb81ad1541fee85a47 (patch)
tree4900ad57938ae8b107279e451211095eaeffe2da
parent7aea851571896cf39044db90120a7cd697c0263f (diff)
downloadtrollius-94dcd8c9e1b14e9d32b7abcb81ad1541fee85a47.tar.gz
selectors: Fix typo.
-rw-r--r--asyncio/selectors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/selectors.py b/asyncio/selectors.py
index ad7afe2..faa2d3d 100644
--- a/asyncio/selectors.py
+++ b/asyncio/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)