MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / __getitem__

Method __getitem__

markdown/util.py:327–328  ·  view source on GitHub ↗
(self, key: str | int)

Source from the content-addressed store, hash-verified

325
326 @overload
327 def __getitem__(self, key: str | int) -> _T: # pragma: no cover
328 ...
329
330 @overload
331 def __getitem__(self, key: slice) -> Registry[_T]: # pragma: no cover

Callers

nothing calls this directly

Calls 3

_sortMethod · 0.95
registerMethod · 0.95
RegistryClass · 0.85

Tested by

no test coverage detected