Commit 92155067 authored by Denis Bilenko's avatar Denis Bilenko

gevent/greenlet.py: add a comment about Greenlet.kill() method

parent 50aed8b2
......@@ -224,6 +224,8 @@ class Greenlet(greenlet):
`Changed in version 0.13.0:` *block* is now ``True`` by default.
"""
# XXX this function should not switch out if greenlet is not started but it does
# XXX fix it (will have to override 'dead' property of greenlet.greenlet)
if self._start_event is None:
self._start_event = _dummy_event
else:
......
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