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

Method get_opt_string

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

Source from the content-addressed store, hash-verified

740 return self.type is not None
741
742 def get_opt_string(self):
743 if self._long_opts:
744 return self._long_opts[0]
745 else:
746 return self._short_opts[0]
747
748
749 # -- Processing methods --------------------------------------------

Callers 1

get_default_valuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected