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

pool: rename killonce method to killone

parent f92f081c
......@@ -90,7 +90,7 @@ class GreenletSet(object):
finally:
t.cancel()
def killonce(self, p, exception=GreenletExit, block=False, timeout=None):
def killone(self, p, exception=GreenletExit, block=False, timeout=None):
if p not in self.dying and p in self.greenlets:
p.kill(exception)
self.dying.add(p)
......
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