
    Kxh                     b    d Z ddlmZ ddlZddlmZ ej        ddeded         fd	            ZdS )
z-
Timer context manager, only used in debug.

    )timeN)	Generatorr   subjectreturn)NNNc              #      K   t                      }dV  t                      |z
  }|dz  }t          |  d|dd           dS )z0print the elapsed time. (only used in debugging)Ni  z	 elapsed z.1fms)r   print)r   startelapsed
elapsed_mss       J/var/www/html/what/lib/python3.11/site-packages/pip/_vendor/rich/_timer.pytimerr      sX       FFE	EEEffunG4J	W
1
1z
1
1
1
122222    )__doc__r   
contextlibtypingr   contextmanagerstrr    r   r   <module>r      s    
                 3 33 3I.>$? 3 3 3 3 3 3r   