mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
Fix simple typo: controle -> control (#1017)
This commit is contained in:
parent
25c858c13e
commit
77992029b6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user