ó
&9_[c           @   s0   d  Z  d d l m Z d e f d „  ƒ  YZ d S(   s   Being removed
iÿÿÿÿ(   t	   py3compatt   LazyEvaluatec           B   s;   e  Z d  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   sˆ   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(   t   funct   argst   kwargs(   t   selfR   R   R   (    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyt   __init__
   s    		c         K   s&   |  j  j | ƒ |  j |  j |  j  Ž  S(   N(   R   t   updateR   R   (   R   R   (    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyt   __call__   s    c         C   s   t  |  ƒ  ƒ S(   N(   t   str(   R   (    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyt   __str__   s    c         C   s   t  j |  ƒ  ƒ S(   N(   R    t   unicode_type(   R   (    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyt   __unicode__   s    c         C   s   t  |  ƒ  | ƒ S(   N(   t   format(   R   t   format_spec(    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyt
   __format__   s    (   t   __name__t
   __module__t   __doc__R   R   R
   R   R   (    (    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyR      s   				N(   R   t   IPython.utilsR    t   objectR   (    (    (    s3   lib/python2.7/site-packages/IPython/core/prompts.pyt   <module>   s   