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

Method takes_value

Lib/optparse.py:739–740  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

737 __repr__ = _repr
738
739 def takes_value(self):
740 return self.type is not None
741
742 def get_opt_string(self):
743 if self._long_opts:

Callers 3

format_option_stringsMethod · 0.80
_process_long_optMethod · 0.80
_process_short_optsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected