MCPcopy Index your code
hub / github.com/python/cpython / _get_default_metavar_for_optional

Method _get_default_metavar_for_optional

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

Source from the content-addressed store, hash-verified

756 return action.help
757
758 def _get_default_metavar_for_optional(self, action):
759 return action.dest.upper()
760
761 def _get_default_metavar_for_positional(self, action):
762 return action.dest

Callers 2

Calls 1

upperMethod · 0.45

Tested by

no test coverage detected