Skip to content

Commit

Permalink
Fix simple typo: controle -> control (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
timgates42 authored and nvbn committed Dec 16, 2019
1 parent 25c858c commit 7799202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thefuck/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7799202

Please sign in to comment.