MCPcopy
hub / github.com/scrapy/scrapy / _err

Method _err

scrapy/commands/edit.py:28–30  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

26 )
27
28 def _err(self, msg: str) -> None:
29 sys.stderr.write(msg + os.linesep)
30 self.exitcode = 1
31
32 def run(self, args: list[str], opts: argparse.Namespace) -> None:
33 if len(args) != 1:

Callers 1

runMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected