-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use plain dict instead of OrderedDict (#28)
We were using `OrderedDict` mostly for documentation purposes that the returned dict preserves the insertion order. However, such gurantee is a language feature rather than a CPython implementation detail since python 3.7. Considering (1) it has been quite some time since python 3.7 for this language feature to be well-known, and (2) our minimum supported version is python 3.8. We can safely return a plain `dict` instead of `OrderedDict` now.
- Loading branch information
Showing
3 changed files
with
58 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters