MCPcopy
hub / github.com/psf/black / clone

Method clone

src/black/lines.py:469–476  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

467 yield index, leaf, length
468
469 def clone(self) -> "Line":
470 return Line(
471 mode=self.mode,
472 depth=self.depth,
473 inside_brackets=self.inside_brackets,
474 should_split_rhs=self.should_split_rhs,
475 magic_trailing_comma=self.magic_trailing_comma,
476 )
477
478 def __str__(self) -> str:
479 """Render the line."""

Callers 7

run_transformerFunction · 0.45
hug_power_opFunction · 0.45
_merge_string_groupMethod · 0.45
do_transformMethod · 0.45
do_transformMethod · 0.45

Calls 1

LineClass · 0.85

Tested by

no test coverage detected