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

Method add

pythonmemorymodule/pefile.py:850–855  ·  view source on GitHub ↗

Adds some text, no newline will be appended. The text can be indented with the optional argument 'indent'.

(self, txt, indent=0)

Source from the content-addressed store, hash-verified

848 self.add(txt + "\n", indent)
849
850 def add(self, txt, indent=0):
851 """Adds some text, no newline will be appended.
852
853 The text can be indented with the optional argument 'indent'.
854 """
855 self.text.append("{0}{1}".format(" " * indent, txt))
856
857 def add_header(self, txt):
858 """Adds a header element."""

Callers 4

add_lineMethod · 0.95
dump_infoMethod · 0.95
addMethod · 0.45
get_import_tableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected