MCPcopy Index your code
hub / github.com/python/cpython / _fancy_helper

Method _fancy_helper

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

Source from the content-addressed store, hash-verified

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

Callers 1

_fancy_replaceMethod · 0.95

Calls 2

_plain_replaceMethod · 0.95
_dumpMethod · 0.95

Tested by

no test coverage detected