def FormatHeader(style, text):
    "Format RST header.\n\n  Args:\n    style: underline style, e.g. '=', '-'.\n    text: header text\n\n  Returns:\n    RST formatted header.\n  "
    return ('%s\n%s\n\n' % (text, (style * len(text))))
Format RST header.

Args:
  style: underline style, e.g. '=', '-'.
  text: header text

Returns:
  RST formatted header.
def FormatHeader(style, text):
    "Format RST header.\n\n  Args:\n    style: underline style, e.g. '=', '-'.\n    text: header text\n\n  Returns:\n    RST formatted header.\n  "
    return ('%s\n%s\n\n' % (text, (style * len(text))))