Commit 6dda830a authored by Felix Yan's avatar Felix Yan

correct a typo in src/gevent/greenlet.py

parent debb8d83
...@@ -322,7 +322,7 @@ class Greenlet(greenlet): ...@@ -322,7 +322,7 @@ class Greenlet(greenlet):
return (e[0], e[1], load_traceback(e[2])) return (e[0], e[1], load_traceback(e[2]))
def throw(self, *args): def throw(self, *args):
"""Immediatelly switch into the greenlet and raise an exception in it. """Immediately switch into the greenlet and raise an exception in it.
Should only be called from the HUB, otherwise the current greenlet is left unscheduled forever. Should only be called from the HUB, otherwise the current greenlet is left unscheduled forever.
To raise an exception in a safe manner from any greenlet, use :meth:`kill`. To raise an exception in a safe manner from any greenlet, use :meth:`kill`.
......
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