Skip to content

Commit

Permalink
Merge pull request #351 from eriknw/update/pluck_docstring
Browse files Browse the repository at this point in the history
See #279. Update `pluck` docstring to clarify it may accept a list of indices
  • Loading branch information
eriknw committed Nov 3, 2016
2 parents ba9a270 + fb45bcf commit a09242b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions toolz/itertoolz.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,7 @@ def pluck(ind, seqs, default=no_default):
This is equivalent to running `map(curried.get(ind), seqs)`
``ind`` can be either a single string/index or a sequence of
strings/indices.
``ind`` can be either a single string/index or a list of strings/indices.
``seqs`` should be sequence containing sequences or dicts.
e.g.
Expand Down

0 comments on commit a09242b

Please sign in to comment.