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

Method dedent

tools/python-3.11.9-amd64/Lib/optparse.py:250–253  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 self.level += 1
249
250 def dedent(self):
251 self.current_indent -= self.indent_increment
252 assert self.current_indent >= 0, "Indent decreased below 0."
253 self.level -= 1
254
255 def format_usage(self, usage):
256 raise NotImplementedError("subclasses must implement")

Callers 15

store_option_stringsMethod · 0.95
_scriptFunction · 0.80
format_helpMethod · 0.80
format_option_helpMethod · 0.80
validateMethod · 0.80
fixdocFunction · 0.80
handle_errorMethod · 0.80
test_colorizer.pyFile · 0.80
htest.pyFile · 0.80
test_build_extMethod · 0.80

Calls

no outgoing calls