+
    UBi                        R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RIH
t
 ^ RIHt ]]],          ]]
],          3,          t]! R	4      t ! R
 R]4      t] ! R R]	],          4      4       t]tR# )z"
Hook wrapper "result" utilities.
)annotations)TracebackType)Callable)cast)final)Generic)Optional)TypeVar
ResultTypec                      ] tR t^tRtRtR# )HookCallErrorzHook was called incorrectly. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       3/usr/lib/python3.14/site-packages/pluggy/_result.pyr   r      s    &r   r   c                      ] tR t^tRtRtR R lt]R R l4       t]R R l4       t	]
R R	 l4       tR
 R ltR R ltR R ltRtR# )ResultzUAn object used to inspect and set the result in a :ref:`hook wrapper
<hookwrappers>`.c               $    V ^8  d   QhRRRRRR/# )   resultzResultType | None	exceptionBaseException | NonereturnNoner   )formats   "r   __annotate__Result.__annotate__   s-     	U 	U!	U (	U 
		Ur   c                Z    Wn         W n        Ve   VP                  V n        R# RV n        R# :meta private:N_result
_exception__traceback__
_traceback)selfr   r   s   &&&r   __init__Result.__init__   s'     #5>5J)11PTr   c                   V ^8  d   QhRR/# )r   r   z_ExcInfo | Noner   )r   s   "r   r    r!   +   s     5 5 5r   c                T    V P                   pVf   R# \        V4      WP                  3# r#   )r'   typer)   )r*   excs   & r   excinfoResult.excinfo*   s(     oo;IsOO44r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r    r!   4   s      / r   c                    V P                   # )r$   )r'   )r*   s   &r   r   Result.exception3   s     r   c                    V ^8  d   QhRRRR/# )r   funczCallable[[], ResultType]r   zResult[ResultType]r   )r   s   "r   r    r!   9   s     & &5 &:L &r   c                `    RpR;r4 V! 4       pV ! W44      #   \          d   pTp Rp?LRp?ii ; i)r$   TN)BaseException)clsr7   __tracebackhide__r   r   r0   s   &&    r   	from_callResult.from_call8   sB     !!!	VF 6%%  	I	s    -(-c                    V ^8  d   QhRRRR/# )r   r   r
   r   r   r   )r   s   "r   r    r!   C   s      : $ r   c                .    Wn         RV n        RV n        R# )a  Force the result(s) to ``result``.

If the hook was marked as a ``firstresult`` a single value should
be set, otherwise set a (modified) list of results. Any exceptions
found during invocation will be deleted.

This overrides any previous result or exception.
Nr&   r'   r)   )r*   r   s   &&r   force_resultResult.force_resultC   s     r   c                    V ^8  d   QhRRRR/# )r   r   r9   r   r   r   )r   s   "r   r    r!   P   s     	U 	U 	U4 	Ur   c                \    RV n         Wn        Ve   VP                  V n        R# RV n        R# )zxForce the result to fail with ``exception``.

This overrides any previous result or exception.

.. versionadded:: 1.1.0
Nr%   )r*   r   s   &&r   force_exceptionResult.force_exceptionP   s)     #5>5J)11PTr   c                   V ^8  d   QhRR/# )r   r   r
   r   )r   s   "r   r    r!   [   s     ) )J )r   c                    RpV P                   pV P                  pVf   \        \        V P                  4      # VP                  V4      h)zGet the result(s) for this hook call.

If the hook was marked as a ``firstresult`` only a single value
will be returned, otherwise a list of results.
T)r'   r)   r   r
   r&   with_traceback)r*   r;   r0   tbs   &   r   
get_resultResult.get_result[   sC     !oo__;
DLL11$$R((r   )r'   r&   r)   Nr@   )r   r   r   r   r   	__slots__r+   propertyr1   r   classmethodr<   rA   rE   rK   r   r   r   r   r   r      se     8I	U 5 5   & &	U) )r   r   N)r   
__future__r   typesr   typingr   r   r   r   r   r	   tupler/   r9   _ExcInfor
   	Exceptionr   r   _Resultr   r   r   <module>rW      s    #        m$mXm5LLM\"
'I ' N)WZ  N) N)d r   