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

Method copy

markdown_it/token.py:121–123  ·  view source on GitHub ↗

Return a shallow copy of the instance.

(self, **changes: Any)

Source from the content-addressed store, hash-verified

119 self.attrs[name] = value
120
121 def copy(self, **changes: Any) -> Token:
122 """Return a shallow copy of the instance."""
123 return dc.replace(self, **changes)
124
125 def as_dict(
126 self,

Callers 1

fenceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected