Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 31, 2023
1 parent 9b1939d commit 08cf346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyhf/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __call__(self, *args, **kwargs):
else:
func()(*args, **kwargs)
# We have to flush after calling all the callbacks, not before. That's
# beacause, earlier callbacks might cause new dead arg weakrefs in
# because, earlier callbacks might cause new dead arg weakrefs in
# later callbacks. So we check for dead weakrefs in each iteration
# and then we flush at the end.
self._flush()
Expand Down

0 comments on commit 08cf346

Please sign in to comment.