Lines Matching refs:heading
206 def __init__(self, formatter, parent, heading=None):
209 self.heading = heading
225 # add the heading if the section was non-empty
226 if self.heading is not SUPPRESS and self.heading is not None:
228 heading = '%*s%s:\n' % (current_indent, '', self.heading)
230 heading = ''
232 # join the section-initial newline, the heading and the help
233 return join(['\n', heading, item_help, '\n'])
241 def start_section(self, heading):
243 section = self._Section(self, self._current_section, heading)