MCPcopy Create free account
hub / github.com/pytorch/pytorch / addLine

Method addLine

caffe2/python/docs/formatter.py:62–64  ·  view source on GitHub ↗
(self, text, new_line=False)

Source from the content-addressed store, hash-verified

60 self.content += "{text}".format(text=text)
61
62 def addLine(self, text, new_line=False):
63 self.content += "{line}{text}\n".format(line=('\n' if new_line else ''),
64 text=text)
65
66 def addLinebreak(self):
67 self.content += "\n"

Callers 12

addHeaderMethod · 0.95
addListMethod · 0.95
addTableMethod · 0.95
addBreakMethod · 0.95
addHeaderMethod · 0.45
addDocHeaderMethod · 0.45
addTableMethod · 0.45
addTableHTMLMethod · 0.45
generateSchemaMethod · 0.45
generateDocMethod · 0.45
generateDocMethod · 0.45
generateSchemaMethod · 0.45

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected