MCPcopy
hub / github.com/scrapy/scrapy / _beautify_newline

Method _beautify_newline

scrapy/exporters.py:141–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 self.first_item = True
140
141 def _beautify_newline(self) -> None:
142 if self.indent is not None:
143 self.file.write(b"\n")
144
145 def _add_comma_after_first(self) -> None:
146 if self.first_item:

Callers 3

start_exportingMethod · 0.95
finish_exportingMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected