Skip to content

Commit

Permalink
Port callers to new _result.py module
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jun 4, 2020
1 parent a063a11 commit d61800d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pluggy/callers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
import sys

from ._result import HookCallError, _Result, _raise_wrapfail
from .._result import HookCallError, _Result, _raise_wrapfail
from .cythonized import _c_multicall

__all__ = ['_multicall', '_c_multicall']
Expand Down
6 changes: 5 additions & 1 deletion src/pluggy/callers/cythonized.pyx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
"""
Cynthonized hook call loop.
This is currently maintained as a verbatim copy of
``pluggy.callers._multicall()``.
NOTE: In order to build this source you must have cython installed.
"""
import sys
from . import _Result, _raise_wrapfail, HookCallError

from .._result import _Result, _raise_wrapfail, HookCallError


cpdef _c_multicall(list hook_impls, dict caller_kwargs, bint firstresult=False):
Expand Down

0 comments on commit d61800d

Please sign in to comment.