MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / __repr__

Method __repr__

markdown_it/tree.py:78–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 self._set_children_from_tokens(tokens[1:-1])
77
78 def __repr__(self) -> str:
79 return f"{type(self).__name__}({self.type})"
80
81 @overload
82 def __getitem__(self: _NodeType, item: int) -> _NodeType: ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected