diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2018-08-25 21:26:16 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2018-08-25 21:26:16 -0700 |
commit | 615dd1bf3c36604f7fcd72025305c2d6e36174cd (patch) | |
tree | 7443f3974de9708081296e5cb5dcdde95c34d4fb /natsort/ns_enum.py | |
parent | 77a1fbefc9a874af52c9e5d261d66d604f296ab5 (diff) | |
download | natsort-615dd1bf3c36604f7fcd72025305c2d6e36174cd.tar.gz |
Add DEFAULT to the ns enum.
This makes the default value in argument lists clearer, as well
as making unit tests more clear to read.
Diffstat (limited to 'natsort/ns_enum.py')
-rw-r--r-- | natsort/ns_enum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/natsort/ns_enum.py b/natsort/ns_enum.py index d73b966..b2015c9 100644 --- a/natsort/ns_enum.py +++ b/natsort/ns_enum.py @@ -28,7 +28,7 @@ enum_options = [ ] # Following were previously options but are now defaults. -enum_do_nothing = ["TYPESAFE", "INT", "VERSION", "DIGIT", "UNSIGNED"] +enum_do_nothing = ["DEFAULT", "TYPESAFE", "INT", "VERSION", "DIGIT", "UNSIGNED"] # The following are bitwise-OR combinations of other fields. enum_combos = [("REAL", ("FLOAT", "SIGNED")), ("LOCALE", ("LOCALEALPHA", "LOCALENUM"))] |