MCPcopy Create free account
hub / github.com/PageBot/PageBot / tabs

Method tabs

Lib/pagebot/contexts/htmlcontext/xmlbuilder.py:57–62  ·  view source on GitHub ↗

Output tabs to the current level and add newlines, depending on the setting of self._newLine (string with newlines) and self._tabLevel (number of indents).

(self)

Source from the content-addressed store, hash-verified

55 self._useOnline = True
56
57 def tabs(self):
58 """"Output tabs to the current level and add newlines, depending on the
59 setting of self._newLine (string with newlines) and self._tabLevel
60 (number of indents)."""
61 if not self.compact and self._verbose:
62 self.write(self._newLine + (self._tabIndent * self._tabLevel))
63
64 def tabIn(self):
65 if not self.compact and self._doIndent:

Callers 5

write_tagMethod · 0.95
_closeTagMethod · 0.95
headMethod · 0.45
titleMethod · 0.45
title_Method · 0.45

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected