Skip to content

Commit

Permalink
Merge pull request #232 from kinow/patch-1
Browse files Browse the repository at this point in the history
Add the output of the example code
  • Loading branch information
goodboy authored Oct 19, 2019
2 parents 9890e90 + 4d546fe commit a5130ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ A definitive example
print(results)
Running this directly gets us::

$ python docs/examples/toy-example.py
inside Plugin_2.myhook()
inside Plugin_1.myhook()
[-1, 3]


.. badges
.. |pypi| image:: https://img.shields.io/pypi/v/pluggy.svg
Expand Down

0 comments on commit a5130ac

Please sign in to comment.