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

Method add_lines

pythonmemorymodule/pefile.py:835–841  ·  view source on GitHub ↗

Adds a list of lines. The list can be indented with the optional argument 'indent'.

(self, txt, indent=0)

Source from the content-addressed store, hash-verified

833 self.text = []
834
835 def add_lines(self, txt, indent=0):
836 """Adds a list of lines.
837
838 The list can be indented with the optional argument 'indent'.
839 """
840 for line in txt:
841 self.add_line(line, indent)
842
843 def add_line(self, txt, indent=0):
844 """Adds a line.

Callers 1

dump_infoMethod · 0.95

Calls 1

add_lineMethod · 0.95

Tested by

no test coverage detected