Commit 77263c59 authored by Denis Bilenko's avatar Denis Bilenko

pool.Group: update method docstrings

parent 88fd3095
...@@ -182,14 +182,18 @@ class Group(object): ...@@ -182,14 +182,18 @@ class Group(object):
return Greenlet.spawn(self.map_cb, func, iterable, callback) return Greenlet.spawn(self.map_cb, func, iterable, callback)
def imap(self, func, iterable): def imap(self, func, iterable):
"""An equivalent of itertools.imap()""" """An equivalent of itertools.imap()
# FIXME
**TODO**: Fix this.
"""
return iter(self.map(func, iterable)) return iter(self.map(func, iterable))
def imap_unordered(self, func, iterable): def imap_unordered(self, func, iterable):
"""The same as imap() except that the ordering of the results from the """The same as imap() except that the ordering of the results from the
returned iterator should be considered arbitrary.""" returned iterator should be considered arbitrary.
# FIXME
**TODO**: Fix this.
"""
return iter(self.map(func, iterable)) return iter(self.map(func, iterable))
def full(self): def full(self):
......
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