MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _fancy_helper

Method _fancy_helper

tools/python-3.11.9-amd64/Lib/difflib.py:987–997  ·  view source on GitHub ↗
(self, a, alo, ahi, b, blo, bhi)

Source from the content-addressed store, hash-verified

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

Callers 1

_fancy_replaceMethod · 0.95

Calls 2

_fancy_replaceMethod · 0.95
_dumpMethod · 0.95

Tested by

no test coverage detected