MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / parse_args

Method parse_args

tools/python-3.11.9-amd64/Lib/argparse.py:1873–1878  ·  view source on GitHub ↗
(self, args=None, namespace=None)

Source from the content-addressed store, hash-verified

1871 # Command line argument parsing methods
1872 # =====================================
1873 def parse_args(self, args=None, namespace=None):
1874 args, argv = self.parse_known_args(args, namespace)
1875 if argv:
1876 msg = _('unrecognized arguments: %s')
1877 self.error(msg % ' '.join(argv))
1878 return args
1879
1880 def parse_known_args(self, args=None, namespace=None):
1881 if args is None:

Callers 15

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
_mainFunction · 0.95
mainFunction · 0.95
_testFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95

Calls 4

parse_known_argsMethod · 0.95
errorMethod · 0.95
_Function · 0.70
joinMethod · 0.45

Tested by 1

_testFunction · 0.76