Commit 5a33c943 authored by Denis Bilenko's avatar Denis Bilenko

select: mention in docstring that xlist argument is ignored

parent 39d09053
...@@ -18,8 +18,10 @@ def get_fileno(obj): ...@@ -18,8 +18,10 @@ def get_fileno(obj):
def select(rlist, wlist, xlist, timeout=None): def select(rlist, wlist, xlist, timeout=None):
"""An implementation of :meth:`select.select` that blocks only the current greenlet.""" """An implementation of :meth:`select.select` that blocks only the current greenlet.
# QQQ xlist is ignored
Note: *xlist* is ignored.
"""
hub = get_hub() hub = get_hub()
current = getcurrent() current = getcurrent()
assert hub is not current, 'do not call blocking functions from the mainloop' assert hub is not current, 'do not call blocking functions from the mainloop'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment