o
    œ©Zh]  ã                   @   s   d Z G dd„ deƒZdS )zBeing removed
c                   @   s0   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
S )ÚLazyEvaluatezˆThis is used for formatting strings with values that need to be updated
    at that time, such as the current time or working directory.c                 O   s   || _ || _|| _d S ©N)ÚfuncÚargsÚkwargs)Úselfr   r   r   © r   úK/var/www/html/lang_env/lib/python3.10/site-packages/IPython/core/prompts.pyÚ__init__
   s   
zLazyEvaluate.__init__c                 K   s    | j  |¡ | j| ji | j ¤ŽS r   )r   Úupdater   r   )r   r   r   r   r   Ú__call__   s   zLazyEvaluate.__call__c                 C   s
   t | ƒ ƒS r   )Ústr)r   r   r   r   Ú__str__   s   
zLazyEvaluate.__str__c                 C   s   t | ƒ |ƒS r   )Úformat)r   Úformat_specr   r   r   Ú
__format__   s   zLazyEvaluate.__format__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   r   r   r   r   r   r   r      s    r   N)r   Úobjectr   r   r   r   r   Ú<module>   s   