MCPcopy
hub / github.com/rocky/python-uncompyle6 / indent_if_source_nl

Method indent_if_source_nl

uncompyle6/semantics/pysource.py:411–414  ·  view source on GitHub ↗
(self, line_number: int, indent_spaces: str)

Source from the content-addressed store, hash-verified

409 return rv
410
411 def indent_if_source_nl(self, line_number: int, indent_spaces: str):
412 if line_number != self.line_number:
413 self.write("\n" + indent_spaces + INDENT_PER_LEVEL[:-1])
414 return self.line_number
415
416 f = property(
417 lambda s: s.params["f"],

Callers 3

kv_mapMethod · 0.95
call36_dictFunction · 0.80
n_dictMethod · 0.80

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected