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

Method format_usage

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

Source from the content-addressed store, hash-verified

2695 # =======================
2696
2697 def format_usage(self):
2698 formatter = self._get_formatter()
2699 formatter.add_usage(self.usage, self._actions,
2700 self._mutually_exclusive_groups)
2701 return formatter.format_help()
2702
2703 def format_help(self):
2704 formatter = self._get_formatter()

Calls 3

_get_formatterMethod · 0.95
add_usageMethod · 0.80
format_helpMethod · 0.45