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

Method addEmphasis

caffe2/python/docs/formatter.py:72–73  ·  view source on GitHub ↗
(self, text, s=1)

Source from the content-addressed store, hash-verified

70 self.addLine("{header} {text}".format(header=h * '#', text=text), True)
71
72 def addEmphasis(self, text, s=1):
73 self.addRaw("{stars}{text}{stars}".format(stars=s * '*', text=text))
74
75 def addList(self, textList):
76 for text in textList:

Callers 4

generateDocMethod · 0.45
getInfoMethod · 0.45
ParserClass · 0.45
makeDescMethod · 0.45

Calls 2

addRawMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected