summaryrefslogtreecommitdiff
path: root/trollius/selectors.py
diff options
context:
space:
mode:
Diffstat (limited to 'trollius/selectors.py')
-rw-r--r--trollius/selectors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/trollius/selectors.py b/trollius/selectors.py
index cf0475d..2b24e5e 100644
--- a/trollius/selectors.py
+++ b/trollius/selectors.py
@@ -309,7 +309,8 @@ class SelectSelector(_BaseSelectorImpl):
r, w, x = select.select(r, w, w, timeout)
return r, w + x, []
else:
- _select = select.select
+ def _select(self, r, w, x, timeout=None):
+ return select.select(r, w, x, timeout)
def select(self, timeout=None):
timeout = None if timeout is None else max(timeout, 0)