code: def process(self, value, state):
      if self.action == "store":
          state.opts[self.dest] = value
      elif self.action == "store_const":
          state.opts[self.dest] = self.const
      elif self.action == "append":
          state.opts.setdefault(self.dest, []).append(value)
      elif self.action == "append_const":
          state.opts.setdefault(self.dest, []).append(self.const)
      elif self.action == "count":
          state.opts[self.dest] = state.opts.get(self.dest, 0) + 1
      else:
          raise ValueError("unknown action '{}'".format(self.action))
      state.order.append(self.obj)
  
imports: import re
  from collections import deque
  from .exceptions import BadArgumentUsage
  from .exceptions import BadOptionUsage
  from .exceptions import NoSuchOption
  from .exceptions import UsageError
label_desc: Use image node_id 3 for calling the Option obj's underlying member method code with example usage: obj.process(value, state) without return types