MCPcopy Index your code
hub / github.com/RustPython/RustPython / dedent

Method dedent

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

Source from the content-addressed store, hash-verified

236 self.level += 1
237
238 def dedent(self):
239 self.current_indent -= self.indent_increment
240 assert self.current_indent >= 0, "Indent decreased below 0."
241 self.level -= 1
242
243 def format_usage(self, usage):
244 raise NotImplementedError("subclasses must implement")

Callers 15

store_option_stringsMethod · 0.95
_introdocFunction · 0.80
_scriptFunction · 0.80
_dedented_linesMethod · 0.80
format_frame_summaryMethod · 0.80
_find_keyword_typosMethod · 0.80
format_helpMethod · 0.80
format_option_helpMethod · 0.80
make_nrcMethod · 0.80
checkMethod · 0.80
test_set_annotationsMethod · 0.80
check_scopesMethod · 0.80

Calls

no outgoing calls

Tested by 15

make_nrcMethod · 0.64
checkMethod · 0.64
test_set_annotationsMethod · 0.64
check_scopesMethod · 0.64
test_refcount_errorsMethod · 0.64
test_ast_finiMethod · 0.64
test_warnings_finiMethod · 0.64
test_helpMethod · 0.64