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

Method __getitem__

markdown_it/utils.py:72–73  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

70 self._options = cast(OptionsType, dict(options))
71
72 def __getitem__(self, key: str) -> Any:
73 return self._options[key] # type: ignore[literal-required]
74
75 def __setitem__(self, key: str, value: Any) -> None:
76 self._options[key] = value # type: ignore[literal-required]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected