
    -i                     2    S SK r S SKJr  S r\SS j5       rg)    N)contextmanagerc                     SU -  nUS:  a	  SUS-  -  nOSU-  nSU< SU< 3nS[        U5      -
  [        U5      -
  nU< US-  < U< 3$ )	zCreate one line message for logging purposes.

Parameters
----------
source : str
    String indicating the source or the reference of the message.

message : str
    Short message.

time : int
    Time in seconds.
z[%s] <   z%4.1fminz %5.1fs z, total=F   .)len)sourcemessagetimestart_messagetime_strend_messagedots_lens          P/var/www/html/venv/lib/python3.13/site-packages/sklearn/utils/_user_interface.py_message_with_timer      sd     f$M by+t#%,h7KC&&[)99H$hnkBB    c              #      #    Uc  Sv   g[         R                  " 5       nSv   [        [        X[         R                  " 5       U-
  5      5        g7f)a>  Log elapsed time to stdout when the context is exited.

Parameters
----------
source : str
    String indicating the source or the reference of the message.

message : str, default=None
    Short message. If None, nothing will be printed.

Returns
-------
context_manager
    Prints elapsed time upon exit if verbose.
N)timeitdefault_timerprintr   )r
   r   starts      r   _print_elapsed_timer   #   s>     " $$& &2F2F2H52PQRs   AA)N)r   
contextlibr   r   r    r   r   <module>r      s)     %C6 S Sr   