Skip to content

Commit

Permalink
Add missing 'self' parameter to hookimpl in docs
Browse files Browse the repository at this point in the history
Related to pytest-dev#128
  • Loading branch information
nicoddemus committed Mar 22, 2018
1 parent 366946a commit 140d6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ will be executed *first* or *last* respectively in the hook call loop:
"""Some other plugin defining the same hook.
"""
@hookimpl(tryfirst=True)
def setup_project(config, args):
def setup_project(self, config, args):
"""Report what args were passed before calling
downstream hooks.
"""
Expand Down

0 comments on commit 140d6b5

Please sign in to comment.