New submission from Дилян Палаузов <dilyan.palau...@aegee.org>:

https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.starmap
 says:

starmap(func, iterable[, chunksize])
Like map() except that the elements of the iterable are expected to be 
iterables that are unpacked as arguments.

Hence an iterable of [(1,2), (3, 4)] results in [func(1,2), func(3,4)].



If it was like map() then it would have returned an iterator.  Please clarify, 
that Pool.map and Pool.starmap return list.

----------
assignee: docs@python
components: Documentation
messages: 305337
nosy: dilyan.palauzov, docs@python
priority: normal
severity: normal
status: open
title: Document Pool.(star)map return type
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to