gmr / flatdict

Python module for interacting with nested dicts as a single level dict with delimited keys.
https://flatdict.readthedocs.io
BSD 3-Clause "New" or "Revised" License
111 stars 32 forks source link

Empty iterable fix #24

Closed gmr closed 5 years ago

gmr commented 5 years ago

This PR adds a fix for when an empty dict lives at the bottom level fo a tree. The keys would not be properly returned.

Also slightly cleans up str and repr to make them less confusing.