MCPcopy
hub / github.com/scrapy/scrapy / _beautify_indent

Method _beautify_indent

scrapy/exporters.py:180–182  ·  view source on GitHub ↗
(self, depth: int = 1)

Source from the content-addressed store, hash-verified

178 self.xg.characters("\n")
179
180 def _beautify_indent(self, depth: int = 1) -> None:
181 if self.indent:
182 self.xg.characters(" " * self.indent * depth)
183
184 def start_exporting(self) -> None:
185 self.xg.startDocument()

Callers 2

export_itemMethod · 0.95
_export_xml_fieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected