summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-12-08 17:30:28 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-12-08 17:30:28 (GMT)
commitc57ca93a78969eb5646136208a266cb3764011b0 (patch)
tree8d9eb4a70cefd4321992561e1c001d4536b34064
parent7f98d3ecb87ec4c753e7299cc09b87b54e686e59 (diff)
parentdfc44e0525f87eea47607290aaa7eab4abecca4a (diff)
downloadcpython-c57ca93a78969eb5646136208a266cb3764011b0.zip
cpython-c57ca93a78969eb5646136208a266cb3764011b0.tar.gz
cpython-c57ca93a78969eb5646136208a266cb3764011b0.tar.bz2
selectors: Fix typo in comment.
-rw-r--r--Lib/selectors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/selectors.py b/Lib/selectors.py
index ad7afe2..faa2d3d 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)