summaryrefslogtreecommitdiff
path: root/cliff/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'cliff/utils.py')
-rw-r--r--cliff/utils.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/cliff/utils.py b/cliff/utils.py
index cee1087..50f3ab6 100644
--- a/cliff/utils.py
+++ b/cliff/utils.py
@@ -12,7 +12,6 @@
# limitations under the License.
import ctypes
-import inspect
import os
import struct
import sys
@@ -26,12 +25,6 @@ import sys
COST = {'w': 0, 's': 2, 'a': 1, 'd': 3}
-if hasattr(inspect, 'getfullargspec'):
- getargspec = inspect.getfullargspec
-else:
- getargspec = inspect.getargspec
-
-
def damerau_levenshtein(s1, s2, cost):
"""Calculates the Damerau-Levenshtein distance between two strings.