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

Method _get_positional_actions

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

Source from the content-addressed store, hash-verified

1991 if action.option_strings]
1992
1993 def _get_positional_actions(self):
1994 return [action
1995 for action in self._actions
1996 if not action.option_strings]
1997
1998 # =====================================
1999 # 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