Fix SF bug #763023, difflib.py: ratio() zero division not caught

Backport candidate
3 files changed