[compat] Remove unnecessary code

This commit is contained in:
pukkandan 2021-07-20 02:21:55 +05:30
parent 8f3343809e
commit c634ad2a3c
2 changed files with 87 additions and 2944 deletions

File diff suppressed because it is too large Load diff

View file

@ -6303,5 +6303,5 @@ def traverse_dict(dictn, keys, casesense=True):
is_user_input=True, traverse_string=True) is_user_input=True, traverse_string=True)
def variadic(x, allowed_types=str): def variadic(x, allowed_types=(str, bytes)):
return x if isinstance(x, collections.Iterable) and not isinstance(x, allowed_types) else (x,) return x if isinstance(x, collections.Iterable) and not isinstance(x, allowed_types) else (x,)