Skip to content

Commit e57c82a

Browse files
author
goodboy
authored
Merge pull request #129 from nicoddemus/fix-self-docs
Add missing 'self' parameter to hookimpl in docs
2 parents 366946a + 140d6b5 commit e57c82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ will be executed *first* or *last* respectively in the hook call loop:
178178
"""Some other plugin defining the same hook.
179179
"""
180180
@hookimpl(tryfirst=True)
181-
def setup_project(config, args):
181+
def setup_project(self, config, args):
182182
"""Report what args were passed before calling
183183
downstream hooks.
184184
"""

0 commit comments

Comments
 (0)