'Return example code for section function
Args:
section: A section of parsed HTML that represents a function definition
Returns:
A string or None if there are no examples'

def parse_for_example(self, section):

    info = self.parse_for_section_div(section)
    example = info.find('div', {'class': 'examples'})
    if example:
        code = example.find('pre')
        text = ('<span    class="prog__sub">Example</span>' + str(code))
        text = '\\n'.join(text.split('\n'))
        return text
    return None
