MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / code_block

Method code_block

PythonAPI/docs/bp_doc_gen.py:113–114  ·  view source on GitHub ↗
(self, buf, language='')

Source from the content-addressed store, hash-verified

111 self._data = join([self._data, self.endl])
112
113 def code_block(self, buf, language=''):
114 return join(['```', language, '\n', self.list_depth(), buf, '\n', self.list_depth(), '```\n'])
115
116
117def generate_pb_docs():

Callers 1

generate_pb_docsFunction · 0.95

Calls 2

list_depthMethod · 0.95
joinFunction · 0.70

Tested by

no test coverage detected