Skip to content

Commit

Permalink
FIX: Fixed the example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajyarlagadda committed Oct 18, 2016
1 parent 9ac7f92 commit 87db84f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ Install using pip:
>>> _.filter([1, 2, 2, 4], callback=lambda x: x > 1)
[2, 2, 4]
>>> first([11, 22, 33, 44], 1)
>>> _.first([11, 22, 33, 44], 1)
[11]
>>> first([11, 22, 33, 44], None)
>>> _.first([11, 22, 33, 44], None)
[]
>>> first([11, 22, 33, 44], -3)
>>> _.first([11, 22, 33, 44], -3)
[]
>>> first([11, 22, 33, 44], 9)
>>> _.first([11, 22, 33, 44], 9)
[11, 22, 33, 44]
>>> _.subtract([1, 2, 3], 2)
Expand Down

0 comments on commit 87db84f

Please sign in to comment.