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

Method _get_positional_actions

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

Source from the content-addressed store, hash-verified

2073 if action.option_strings]
2074
2075 def _get_positional_actions(self):
2076 return [action
2077 for action in self._actions
2078 if not action.option_strings]
2079
2080 # =====================================
2081 # Command line argument parsing methods

Callers 3

add_subparsersMethod · 0.95
_parse_known_argsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected