Skip to content

Commit a6fec04

Browse files
committed
remove array repr and str
1 parent ecf0055 commit a6fec04

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tomlkit/items.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,12 +1425,6 @@ def __delitem__(self, key: int | slice):
14251425
def _getstate(self, protocol=3):
14261426
return list(self._iter_items()), self._trivia, self._multiline
14271427

1428-
def __repr__(self) -> str:
1429-
return repr(self._value)
1430-
1431-
def __str__(self) -> str:
1432-
return str(self.unwrap())
1433-
14341428

14351429
class AbstractTable(Item, _CustomDict):
14361430
"""Common behaviour of both :class:`Table` and :class:`InlineTable`"""

0 commit comments

Comments
 (0)