(matches, length)
| 38 | Match = _namedtuple('Match', 'a b size') |
| 39 | |
| 40 | def _calculate_ratio(matches, length): |
| 41 | if length: |
| 42 | return 2.0 * matches / length |
| 43 | return 1.0 |
| 44 | |
| 45 | class SequenceMatcher: |
| 46 |
no outgoing calls
no test coverage detected
searching dependent graphs…