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

Method _get_default_metavar_for_optional

Lib/argparse.py:701–702  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

699 return action.help
700
701 def _get_default_metavar_for_optional(self, action):
702 return action.dest.upper()
703
704 def _get_default_metavar_for_positional(self, action):
705 return action.dest

Callers 2

Calls 1

upperMethod · 0.45

Tested by

no test coverage detected