1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

Fix simple typo: controle -> control

This commit is contained in:
Tim Gates 2019-12-02 23:09:24 +11:00
parent d10fc80fa5
commit 286e969ae2
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05

View File

@ -98,7 +98,7 @@ def get_closest(word, possibilities, cutoff=0.6, fallback_to_first=True):
def get_close_matches(word, possibilities, n=None, cutoff=0.6):
"""Overrides `difflib.get_close_match` to controle argument `n`."""
"""Overrides `difflib.get_close_match` to control argument `n`."""
if n is None:
n = settings.num_close_matches
return difflib_get_close_matches(word, possibilities, n, cutoff)