diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2021-10-24 10:31:29 -0700 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2021-10-24 11:06:23 -0700 |
commit | f87d6b5b74e331699a89f4675e4b95ba26587186 (patch) | |
tree | 9781beb909fb81573192ce4803556727f2f5f837 /CHANGELOG.md | |
parent | 7a44a5e31ae0e7d036270fe67c66cfe63d6c239b (diff) | |
download | natsort-f87d6b5b74e331699a89f4675e4b95ba26587186.tar.gz |
The ns enum actually now is a python enum
I have been wanting to do this for quite some time, but needed the
functionality of the IntEnum for backwards-compatibility. Now that
Python 3.5 is no longer supported, the IntEnum can be used and the
definition of ns is far simpler than it used to be.
This plays nice with mypy also, which is the driving change.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5683cb5..1e1d147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased --- +### Changed + + - The `ns` enum is now implemented as an `enum.IntEnum` instead of a + `collections.namedtuple` + ### Removed - Support for Python 3.4 and Python 3.5 |