diff --git a/src/pluggy/callers/__init__.py b/src/pluggy/callers/__init__.py index d35db412..2a3e030a 100644 --- a/src/pluggy/callers/__init__.py +++ b/src/pluggy/callers/__init__.py @@ -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'] diff --git a/src/pluggy/callers/cythonized.pyx b/src/pluggy/callers/cythonized.pyx index 0abc79cf..952af636 100644 --- a/src/pluggy/callers/cythonized.pyx +++ b/src/pluggy/callers/cythonized.pyx @@ -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):