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

Method process

tools/python-3.11.9-amd64/Lib/optparse.py:775–785  ·  view source on GitHub ↗
(self, opt, value, values, parser)

Source from the content-addressed store, hash-verified

773 return tuple([self.check_value(opt, v) for v in value])
774
775 def process(self, opt, value, values, parser):
776
777 # First, convert the value(s) to the right type. Howl if any
778 # value(s) are bogus.
779 value = self.convert_value(opt, value)
780
781 # And then take whatever action is expected of us.
782 # This is a separate method to make life easier for
783 # subclasses to add new actions.
784 return self.take_action(
785 self.action, self.dest, opt, value, values, parser)
786
787 def take_action(self, action, dest, opt, value, values, parser):
788 if action == "store":

Callers 2

_process_long_optMethod · 0.45
_process_short_optsMethod · 0.45

Calls 2

convert_valueMethod · 0.95
take_actionMethod · 0.95

Tested by

no test coverage detected