mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
remove unnecessary import
This commit is contained in:
parent
bb6f9ee367
commit
4ecabadae9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user