]> git.ipfire.org Git - thirdparty/babel.git/commit
Replace odict with Python's collection.OrderedDict
authorJon Dufresne <jon.dufresne@gmail.com>
Sun, 30 Dec 2018 15:54:34 +0000 (10:54 -0500)
committerAarni Koskela <akx@iki.fi>
Fri, 25 Jan 2019 10:50:05 +0000 (12:50 +0200)
commit60669579a7e3189112ce4ecb983928040af79e73
treead37563b97554d7633bfe06927773ad2798c6901
parente4d834d4c1bffe05e71ee2ec21449b6b0b115e99
Replace odict with Python's collection.OrderedDict

The odict class duplicates collection.OrderedDict from Python's standard
lib. Simplify the code by using builtin Python features.

https://docs.python.org/3/library/collections.html#collections.OrderedDict
CHANGES
babel/messages/catalog.py
babel/messages/frontend.py
babel/util.py
tests/test_util.py