Searched refs:isjunk (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/ |
D | difflib.py | 152 def __init__(self, isjunk=None, a='', b='', autojunk=True): argument 216 self.isjunk = isjunk 324 isjunk = self.isjunk 325 if isjunk: 327 if isjunk(elt):
|
/external/python/cpython3/Lib/ |
D | difflib.py | 151 def __init__(self, isjunk=None, a='', b='', autojunk=True): argument 210 self.isjunk = isjunk 317 isjunk = self.isjunk 318 if isjunk: 320 if isjunk(elt):
|
/external/python/cpython3/Lib/test/ |
D | test_difflib.py | 33 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ', 37 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ', 41 sm = difflib.SequenceMatcher(isjunk=lambda x: x in [' ', 'b'],
|
/external/python/cpython3/Doc/library/ |
D | difflib.rst | 364 .. class:: SequenceMatcher(isjunk=None, a='', b='', autojunk=True) 366 Optional argument *isjunk* must be ``None`` (the default) or a one-argument 368 element is "junk" and should be ignored. Passing ``None`` for *isjunk* is 387 set of elements of *b* for which *isjunk* is ``True``; *bpopular* is the set of 424 If *isjunk* was omitted or ``None``, :meth:`find_longest_match` returns 437 If *isjunk* was provided, first the longest matching block is determined 652 :meth:`~SequenceMatcher.find_longest_match` method's *isjunk*
|
/external/python/cpython2/Doc/library/ |
D | difflib.rst | 347 .. class:: SequenceMatcher(isjunk=None, a='', b='', autojunk=True) 349 Optional argument *isjunk* must be ``None`` (the default) or a one-argument 351 element is "junk" and should be ignored. Passing ``None`` for *isjunk* is 397 If *isjunk* was omitted or ``None``, :meth:`find_longest_match` returns 410 If *isjunk* was provided, first the longest matching block is determined
|