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

Method _initialize

Lib/pagebot/contexts/htmlcontext/xmlbuilder.py:46–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 return ' '.join(s)
45
46 def _initialize(self):
47 self.compact = False
48 self._newLine = '\n' # Add in case self.compact is False
49 self._doIndent = True
50 self._tabLevel = 0
51 self._tabIndent = '\t'
52 self._tagStack = [] # Stack with running tags for closing and XML validation
53 self._verbose = True
54 self._svgMode = False
55 self._useOnline = True
56
57 def tabs(self):
58 """"Output tabs to the current level and add newlines, depending on the

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected