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

Method list_depth

PythonAPI/docs/doc_gen.py:56–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self._data = join([self._data, '\n'])
55
56 def list_depth(self):
57 if self._data.strip()[-1:] != '\n' or self._list_depth == 0:
58 return ''
59 return join([' ' * self._list_depth])
60
61 def separator(self):
62 self._data = join([self._data, '\n---\n'])

Callers 4

textnMethod · 0.95
titleMethod · 0.95
title_htmlMethod · 0.95
code_blockMethod · 0.95

Calls 1

joinFunction · 0.70

Tested by

no test coverage detected