MCPcopy Create free account
hub / github.com/webpy/webpy / emit

Method emit

web/template.py:562–564  ·  view source on GitHub ↗
(self, indent)

Source from the content-addressed store, hash-verified

560 self.end = "\n return self"
561
562 def emit(self, indent):
563 encoding = "# coding: utf-8\n"
564 return encoding + self.defwith + self.suite.emit(indent + INDENT) + self.end
565
566 def __repr__(self):
567 return f"<defwith: {self.defwith}, {self.suite}>"

Callers

nothing calls this directly

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected