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

Method add_header

pythonmemorymodule/pefile.py:857–859  ·  view source on GitHub ↗

Adds a header element.

(self, txt)

Source from the content-addressed store, hash-verified

855 self.text.append("{0}{1}".format(" " * indent, txt))
856
857 def add_header(self, txt):
858 """Adds a header element."""
859 self.add_line("{0}{1}{0}\n".format("-" * 10, txt))
860
861 def add_newline(self):
862 """Adds a newline."""

Callers 1

dump_infoMethod · 0.95

Calls 1

add_lineMethod · 0.95

Tested by

no test coverage detected