1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 04:58:12 +00:00

remove unnecessary import

This commit is contained in:
J. Fernando Sánchez 2019-01-09 19:31:51 +01:00
parent bb6f9ee367
commit 4ecabadae9

View File

@ -19,7 +19,6 @@ def ignore(dchars):
tbl = str.maketrans("", "", deletechars)
ignore = lambda s: s.translate(tbl)
else:
from functools import partial
def ignore(s):
return string.translate(s, None, deletechars)
return ignore