
]c           @   s0   d  Z  d d l m Z d e f d     YZ d S(   s   
Contains CheesePreprocessor
i   (   t   Preprocessort   CheesePreprocessorc           B   s    e  Z d  Z d   Z d   Z RS(   s3   
    Adds a cheese tag to the resources object
    c         K   s   t  t |   j |   d S(   s$   
        Public constructor
        N(   t   superR   t   __init__(   t   selft   kw(    (    s?   lib/python2.7/site-packages/nbconvert/exporters/tests/cheese.pyR      s    c         C   s   d | d <| | f S(   sZ  
        Sphinx preprocessing to apply on each notebook.
        
        Parameters
        ----------
        nb : NotebookNode
            Notebook being converted
        resources : dictionary
            Additional resources used in the conversion process.  Allows
            preprocessors to pass variables into the Jinja engine.
        t   realt   cheese(    (   R   t   nbt	   resources(    (    s?   lib/python2.7/site-packages/nbconvert/exporters/tests/cheese.pyt
   preprocess#   s    
(   t   __name__t
   __module__t   __doc__R   R
   (    (    (    s?   lib/python2.7/site-packages/nbconvert/exporters/tests/cheese.pyR      s   	N(   R   t   preprocessors.baseR    R   (    (    (    s?   lib/python2.7/site-packages/nbconvert/exporters/tests/cheese.pyt   <module>   s   