diff --git a/src/jsoncfg/config_classes.py b/src/jsoncfg/config_classes.py index 447d5d3..43363d8 100644 --- a/src/jsoncfg/config_classes.py +++ b/src/jsoncfg/config_classes.py @@ -312,7 +312,7 @@ def __repr__(self): len(self), self._line, self._column) def _fetch_unwrapped_value(self): - return {key: node._fetch_unwrapped_value() for key, node in self._dict.items()} + return dict((key, node._fetch_unwrapped_value()) for key, node in self._dict.items()) def _insert(self, key, value): self._dict[key] = value