MCPcopy Index your code
hub / github.com/python/mypy / dedent

Method dedent

mypyc/codegen/emit.py:226–228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 self._indent += 4
225
226 def dedent(self) -> None:
227 self._indent -= 4
228 assert self._indent >= 0
229
230 def label(self, label: BasicBlock) -> str:
231 return "CPyL%s" % label.label

Callers 10

emit_lineMethod · 0.95
visit_class_defMethod · 0.45
generate_class_stubMethod · 0.45
test_as_xmlMethod · 0.45
build_helperFunction · 0.45
testFunction · 0.45
test_allowlistMethod · 0.45
dedent_docstringFunction · 0.45
mainFunction · 0.45
_write_ref_redirectorMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_as_xmlMethod · 0.36
build_helperFunction · 0.36
testFunction · 0.36
test_allowlistMethod · 0.36
dedent_docstringFunction · 0.36