Home
last modified time | relevance | path

Searched refs:isjunk (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
Ddifflib.py152 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/
Ddifflib.py151 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/
Dtest_difflib.py33 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/
Ddifflib.rst364 .. 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
651 :meth:`~SequenceMatcher.find_longest_match` method's *isjunk*
/external/python/cpython2/Doc/library/
Ddifflib.rst347 .. 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