MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / add_line

Method add_line

pythonmemorymodule/pefile.py:843–848  ·  view source on GitHub ↗

Adds a line. The line can be indented with the optional argument 'indent'.

(self, txt, indent=0)

Source from the content-addressed store, hash-verified

841 self.add_line(line, indent)
842
843 def add_line(self, txt, indent=0):
844 """Adds a line.
845
846 The line can be indented with the optional argument 'indent'.
847 """
848 self.add(txt + "\n", indent)
849
850 def add(self, txt, indent=0):
851 """Adds some text, no newline will be appended.

Callers 3

add_linesMethod · 0.95
add_headerMethod · 0.95
dump_infoMethod · 0.95

Calls 1

addMethod · 0.95

Tested by

no test coverage detected