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

Method process

Lib/optparse.py:765–775  ·  view source on GitHub ↗
(self, opt, value, values, parser)

Source from the content-addressed store, hash-verified

763 return tuple([self.check_value(opt, v) for v in value])
764
765 def process(self, opt, value, values, parser):
766
767 # First, convert the value(s) to the right type. Howl if any
768 # value(s) are bogus.
769 value = self.convert_value(opt, value)
770
771 # And then take whatever action is expected of us.
772 # This is a separate method to make life easier for
773 # subclasses to add new actions.
774 return self.take_action(
775 self.action, self.dest, opt, value, values, parser)
776
777 def take_action(self, action, dest, opt, value, values, parser):
778 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