def prepare ( doc ) : doc . caption_found = False doc . plot_found = False doc . listings_counter = 0
python not showing up in documents
Sets the caption_found and plot_found variables to False .
def prepare(doc):
    """Sets the caption_found and plot_found variables to False."""
    doc.caption_found = False
    doc.plot_found = False
    doc.listings_counter = 0