Commit 3dfb737f authored by Denis Bilenko's avatar Denis Bilenko

pool: update the docstring

parent ba299d76
...@@ -5,8 +5,8 @@ The :class:`Group` class in this module abstracts a group of running greenlets. ...@@ -5,8 +5,8 @@ The :class:`Group` class in this module abstracts a group of running greenlets.
When a greenlet dies, it's automatically removed from the group. When a greenlet dies, it's automatically removed from the group.
The :class:`Pool` which a subclass of :class:`Group` provides a way to limit The :class:`Pool` which a subclass of :class:`Group` provides a way to limit
concurrency: its :meth:`spawn <Pool.spawn>` blocks if the number of greenlets concurrency: its :meth:`spawn <Pool.spawn>` method blocks if the number of
in the pool would exceed the limit. greenlets in the pool has already reached the limit, until there is a free slot.
""" """
from gevent.hub import GreenletExit, getcurrent from gevent.hub import GreenletExit, getcurrent
......
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