[issue40394] difflib.SequenceMatcher.find_longest_match default arguments

Tim Peters report at bugs.python.org
Mon Apr 27 00:00:42 EDT 2020


Tim Peters <tim at python.org> added the comment:

Sounds good to me, Lewis - thanks!  Note, though, that alo and blo should default to 0.  `None` is best reserved for cases where the default value needs to be computed at runtime.  But alo == blo == 0 apply to all possible instances.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40394>
_______________________________________


More information about the Python-bugs-list mailing list