ó
mÜJ]c           @` s_   d  Z  d d l m Z m Z m Z m Z d d l Z e j e ƒ Z	 d Z
 d „  Z d „  Z d S(	   u   

i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsNu   curdocu
   set_curdocc          C` s   d d l  m }  |  ƒ  j S(   u    Return the document for the current default state.

    Returns:
        Document : the current default document object.

    i   (   t   curstate(   t   stateR   t   document(   R   (    (    s+   lib/python2.7/site-packages/bokeh/io/doc.pyt   curdoc*   s    c         C` s    d d l  m } |  | ƒ  _ d S(   uè   Configure the current document (returned by curdoc()).

    Args:
        doc (Document) : Document we will output.

    Returns:
        None

    .. warning::
        Calling this function will replace any existing document.

    i   (   R   N(   R   R   R   (   t   docR   (    (    s+   lib/python2.7/site-packages/bokeh/io/doc.pyt
   set_curdoc8   s    (   u   curdocu
   set_curdoc(   t   __doc__t
   __future__R    R   R   R   t   loggingt	   getLoggert   __name__t   logt   __all__R   R	   (    (    (    s+   lib/python2.7/site-packages/bokeh/io/doc.pyt   <module>	   s   " 	