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

Method __iter__

markdown/util.py:322–324  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 return item in self._data.values()
321
322 def __iter__(self) -> Iterator[_T]:
323 self._sort()
324 return iter([self._data[k] for k, p in self._priority])
325
326 @overload
327 def __getitem__(self, key: str | int) -> _T: # pragma: no cover

Callers

nothing calls this directly

Calls 1

_sortMethod · 0.95

Tested by

no test coverage detected