diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2023-02-26 21:10:48 -0800 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2023-02-26 21:10:48 -0800 |
commit | 25fa2db8a7b04da596ebd95a170f69e29c2ace54 (patch) | |
tree | 84cc467ac1f12855cbc8a264dc4d4ebc88b9ad1a | |
parent | 90fd249a81a2e343d30de19b1671080597bce084 (diff) | |
download | natsort-25fa2db8a7b04da596ebd95a170f69e29c2ace54.tar.gz |
black
-rw-r--r-- | natsort/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/natsort/utils.py b/natsort/utils.py index 733bb1b..062b1c6 100644 --- a/natsort/utils.py +++ b/natsort/utils.py @@ -344,8 +344,7 @@ def natsort_key( elif isinstance(val, Iterable): # Must be parsed recursively, but do not apply the key recursively. return tuple( - natsort_key(x, None, string_func, bytes_func, num_func) - for x in val + natsort_key(x, None, string_func, bytes_func, num_func) for x in val ) else: # Anything else goes here return num_func(val) |