diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2016-05-01 13:34:14 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2016-05-01 13:34:14 -0700 |
commit | 707866c768a464d28a9a2242e63618e1289ec60b (patch) | |
tree | aae40b7d1870050cb38f0983c2c970b40028855e /natsort/ns_enum.py | |
parent | 48fcf867d6c60302c1ddc2817367b8fce36206fc (diff) | |
download | natsort-707866c768a464d28a9a2242e63618e1289ec60b.tar.gz |
Solved some testing errors.
Diffstat (limited to 'natsort/ns_enum.py')
-rw-r--r-- | natsort/ns_enum.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/natsort/ns_enum.py b/natsort/ns_enum.py index 927c5e1..aa884be 100644 --- a/natsort/ns_enum.py +++ b/natsort/ns_enum.py @@ -142,20 +142,20 @@ class ns(object): # The below are options. The values are stored as powers of two # so bitmasks can be used to extract the user's requested options. - FLOAT = F = 1<<0 - SIGNED = S = 1<<1 + FLOAT = F = 1 << 0 + SIGNED = S = 1 << 1 REAL = R = FLOAT | SIGNED - NOEXP = N = 1<<2 - PATH = P = 1<<3 - LOCALE = L = 1<<4 - IGNORECASE = IC = 1<<5 - LOWERCASEFIRST = LF = 1<<6 - GROUPLETTERS = G = 1<<7 - UNGROUPLETTERS = UG = 1<<8 + NOEXP = N = 1 << 2 + PATH = P = 1 << 3 + LOCALE = L = 1 << 4 + IGNORECASE = IC = 1 << 5 + LOWERCASEFIRST = LF = 1 << 6 + GROUPLETTERS = G = 1 << 7 + UNGROUPLETTERS = UG = 1 << 8 CAPITALFIRST = C = UNGROUPLETTERS - NANLAST = NL = 1<<9 + NANLAST = NL = 1 << 9 # The below are private options for internal use only. _NUMERIC_ONLY = REAL | NOEXP _ALL_BUT_PATH = _NUMERIC_ONLY | L | IC | LF | G | UG | C | NL - _DUMB = 1<<31 + _DUMB = 1 << 31 |