Skip to content

Commit

Permalink
Add the output of the example code
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow authored Aug 29, 2019
1 parent 14e9d85 commit 0966c58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ A definitive example
# call our ``myhook`` hook
results = pm.hook.myhook(arg1=1, arg2=2)
print(results)
# results
# inside Plugin_2.myhook()
# inside Plugin_1.myhook()
# [-1, 3]
.. badges
Expand Down

0 comments on commit 0966c58

Please sign in to comment.