makinacorpus / easydict

Access dict values as attributes (works recursively)
GNU Lesser General Public License v3.0
294 stars 47 forks source link

Keeping the order #5

Open zWaR opened 8 years ago

zWaR commented 8 years ago

Hi,

is it possible to supply an OrderedDict and expect EasyDict to keep the order?

Thanks!

leplatrem commented 8 years ago

If you instantiate with d=yourdict yes it should!