Commit c7bae5c8 authored by Denis Bilenko's avatar Denis Bilenko

update doctring in Greenlet.kill

parent 28fa6205
...@@ -293,7 +293,9 @@ class Greenlet(greenlet): ...@@ -293,7 +293,9 @@ class Greenlet(greenlet):
If block is ``True`` (the default), wait until the greenlet dies or the optional timeout expires. If block is ``True`` (the default), wait until the greenlet dies or the optional timeout expires.
If block is ``False``, the current greenlet is not unscheduled. If block is ``False``, the current greenlet is not unscheduled.
Return ``None``. The function always returns ``None`` and never raises an errir.
`Changed in version 0.13.0:` *block* is now ``True`` by default.
""" """
if self._start_event is not None: if self._start_event is not None:
self._start_event.cancel() self._start_event.cancel()
......
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