We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6fec04 commit c04b798Copy full SHA for c04b798
tomlkit/items.py
@@ -574,7 +574,7 @@ def __str__(self) -> str:
574
return f"{self._trivia.indent}{decode(self._trivia.comment)}"
575
576
def unwrap(self):
577
- return decode(self._trivia.comment).lstrip().lstrip("#").lstrip()
+ return decode(self._trivia.comment).lstrip("#").lstrip()
578
579
def __repr__(self) -> str:
580
return f"<{self.__class__.__name__} {self.unwrap()!r}>"
0 commit comments