-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use get_close_matches instead of custom function
The Python standard module difflib contains a function we can use to replace the function stolen from Rosetta Code. If the case where the attribute name is incorrect, but it is reasonably close to a correct name, that name is suggested to the user. Otherwise, no suggestion is made.
- Loading branch information
Showing
1 changed file
with
8 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters