parameters: ()
docstring: Print list of available formats (arguments to "--format" option).
docstring_summary: Print list of available formats (arguments to "--format" option).
docstring_tokens: Print list of available formats ( arguments to -- format option ) .
function: def show_formats():
      """Print list of available formats (arguments to "--format" option).
      """
      from distutils.fancy_getopt import FancyGetopt
      formats = []
      for format in bdist.format_commands:
          formats.append(("formats=" + format, None,
                          bdist.format_command[format][1]))
      pretty_printer = FancyGetopt(formats)
      pretty_printer.print_help("List of available distribution formats:")
function_tokens: def show_formats ( ) : from distutils . fancy_getopt import FancyGetopt formats = [ ] for format in bdist . format_commands : formats . append ( ( "formats=" + format , None , bdist . format_command [ format ] [ 1 ] ) ) pretty_printer = FancyGetopt ( formats ) pretty_printer . print_help ( "List of available distribution formats:" )