MCPcopy Index your code
hub / github.com/RustPython/RustPython / _fancy_helper

Method _fancy_helper

Lib/difflib.py:985–995  ·  view source on GitHub ↗
(self, a, alo, ahi, b, blo, bhi)

Source from the content-addressed store, hash-verified

983 b, dump_j, bhi)
984
985 def _fancy_helper(self, a, alo, ahi, b, blo, bhi):
986 g = []
987 if alo < ahi:
988 if blo < bhi:
989 g = self._plain_replace(a, alo, ahi, b, blo, bhi)
990 else:
991 g = self._dump('-', a, alo, ahi)
992 elif blo < bhi:
993 g = self._dump('+', b, blo, bhi)
994
995 yield from g
996
997 def _qformat(self, aline, bline, atags, btags):
998 r"""

Callers 1

_fancy_replaceMethod · 0.95

Calls 2

_plain_replaceMethod · 0.95
_dumpMethod · 0.95

Tested by

no test coverage detected