]> granicus.if.org Git - python/commitdiff
selectors: Fix typo in comment.
authorYury Selivanov <yselivanov@sprymix.com>
Mon, 8 Dec 2014 17:30:10 +0000 (12:30 -0500)
committerYury Selivanov <yselivanov@sprymix.com>
Mon, 8 Dec 2014 17:30:10 +0000 (12:30 -0500)
Lib/selectors.py

index 25b8d798219ef968adafdf7257857aaf49ffee76..e4ad4cb18c4a593f2cee66fd36fa9c83f7de04a4 100644 (file)
@@ -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)