Skip to content

Commit

Permalink
FIX: Modified the example.rst with the proper function call
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajyarlagadda committed Oct 26, 2016
1 parent 6cc9230 commit 802d1b0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ Arrays
>>> is_equal([], [])
True
>>> last([11, 22, 33, 44], 1)
>>> _.last([11, 22, 33, 44], 1)
[44]
>>> last([11, 22, 33, 44], 3)
>>> _.last([11, 22, 33, 44], 3)
[22, 33, 44]
>>> last([11, 22, 33, 44], None)
>>> _.last([11, 22, 33, 44], None)
[]
>>> last([11, 22, 33, 44], -3)
>>> _.last([11, 22, 33, 44], -3)
[]
>>> last([11, 22, 33, 44], 9)
>>> _.last([11, 22, 33, 44], 9)
[]
>>> _.subtract([1, 2, 3], 2)
Expand Down

0 comments on commit 802d1b0

Please sign in to comment.