Skip to content

Commit

Permalink
Update pluck docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknw authored and larsmans committed May 2, 2014
1 parent e1b38b0 commit e30c0f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cytoolz/itertoolz.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,7 @@ cpdef object pluck(object ind, object seqs, object default=no_default):
``seqs`` should be sequence containing sequences or dicts.
e.g.
>>> data = [{'id': 1, 'name': 'Cheese'}, {'id': 2, 'name': 'Pies'}]
>>> list(pluck('name', data))
['Cheese', 'Pies']
Expand Down

0 comments on commit e30c0f0

Please sign in to comment.