Home | History | Annotate | Download | only in python2.7

Lines Matching refs:heading

197         def __init__(self, formatter, parent, heading=None):
200 self.heading = heading
218 # add the heading if the section was non-empty
219 if self.heading is not SUPPRESS and self.heading is not None:
221 heading = '%*s%s:\n' % (current_indent, '', self.heading)
223 heading = ''
225 # join the section-initial newline, the heading and the help
226 return join(['\n', heading, item_help, '\n'])
234 def start_section(self, heading):
236 section = self._Section(self, self._current_section, heading)