diff --git a/tomlkit/container.py b/tomlkit/container.py index 27d6917..319f3c9 100644 --- a/tomlkit/container.py +++ b/tomlkit/container.py @@ -44,6 +44,7 @@ def body(self) -> list[tuple[Key | None, Item]]: return self._body def unwrap(self) -> dict[str, Any]: + """Returns as pure python object (ppo)""" unwrapped = {} for k, v in self.items(): if k is None: @@ -64,6 +65,7 @@ def unwrap(self) -> dict[str, Any]: @property def value(self) -> dict[str, Any]: + """The wrapped dict value""" d = {} for k, v in self._body: if k is None: diff --git a/tomlkit/items.py b/tomlkit/items.py index 31f63f8..af12ad5 100644 --- a/tomlkit/items.py +++ b/tomlkit/items.py @@ -1665,6 +1665,7 @@ def indent(self, indent: int) -> Table: return self def invalidate_display_name(self): + """Call ``invalidate_display_name`` on the contained tables""" self.display_name = None for child in self.values():