
    wi                     <    S r SS/rSSKrSSKrSqS rS rS rS	 rg)
zWander Lairson Costamethodtracefunctiontrace    NFc                     U q g N)_enable_tracing)enables    D/home/james-whalen/.local/lib/python3.13/site-packages/usb/_debug.pyenable_tracingr
   (   s    O    c                     U R                  US-   SR                  S U 5       5      -   SR                  S UR                  5        5       5      -   S-   5        g )N(z, c              3   8   #    U  H  n[        U5      v   M     g 7fr   str).0vals     r	   	<genexpr>'_trace_function_call.<locals>.<genexpr>0   s     4t3s88ts   c              3   H   #    U  H  u  pUS -   [        U5      -   v   M     g7f)=Nr   )r   namer   s      r	   r   r   1   s!     UBTYT4#:C0BTs    "))debugjoinitems)loggerfnameargs
named_argss       r	   _trace_function_callr    ,   sV    
LL		4t456		U*BRBRBTUVWY\]r   c                    ^  U 4S jnU$ )Nc                 `   >^  [         (       d  T $ U U4S jn[        R                  " UT 5        U$ )Nc                     > [         R                  TR                  5       :  a;  [        U S   5      R                  S-   TR                  -   n[        TU/U SS  Q70 UD6  T" U 0 UD6$ )Nr   .   )loggingDEBUGgetEffectiveLeveltype__name__r    )r   r   fnfr   s      r	   do_trace8methodtrace.<locals>.decorator_logging.<locals>.do_trace9   sc    }} 8 8 ::$q']++c1AJJ>$VRI$qr(IjId)j))r   r   	functoolsupdate_wrapperr,   r-   r   s   ` r	   decorator_logging&methodtrace.<locals>.decorator_logging6   s)    H	* 	  1-r    r   r3   s   ` r	   r   r   5   s    
 r   c                    ^  U 4S jnU$ )Nc                 `   >^  [         (       d  T $ U U4S jn[        R                  " UT 5        U$ )Nc                     > [         R                  TR                  5       :  a  [        TTR                  /U Q70 UD6  T" U 0 UD6$ r   )r&   r'   r(   r    r*   )r   r   r,   r   s     r	   r-   :functiontrace.<locals>.decorator_logging.<locals>.do_traceH   s@    }} 8 8 ::$VQZZM$M*Md)j))r   r/   r2   s   ` r	   r3   (functiontrace.<locals>.decorator_loggingE   s)    H	*
 	  1-r   r5   r6   s   ` r	   r   r   D   s    	 r   )	
__author____all__r0   r&   r   r
   r    r   r   r5   r   r	   <module>r>      s5   > $
/
*  r   