<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_lheading(self, m):
 """Parse setext heading."""

        level = 1 if m.group(2) == '=' else 2
        self.renderer.heading(m.group(1), level=level)