MCPcopy Index your code
hub / github.com/RustPython/RustPython / _get_formatter

Method _get_formatter

Lib/argparse.py:2726–2729  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2724 return formatter.format_help()
2725
2726 def _get_formatter(self):
2727 formatter = self.formatter_class(prog=self.prog)
2728 formatter._set_color(self.color)
2729 return formatter
2730
2731 def _get_validation_formatter(self):
2732 # Return cached formatter for read-only validation operations

Callers 4

format_usageMethod · 0.95
format_helpMethod · 0.95
__call__Method · 0.80

Calls 1

_set_colorMethod · 0.80

Tested by

no test coverage detected