MCPcopy
hub / github.com/sphinx-doc/sphinx / load

Method load

sphinx/util/inventory.py:66–67  ·  view source on GitHub ↗
(cls, stream: _SupportsRead, uri: str, joinfunc: _JoinFunc)

Source from the content-addressed store, hash-verified

64
65 @classmethod
66 def load(cls, stream: _SupportsRead, uri: str, joinfunc: _JoinFunc) -> Inventory:
67 return cls.loads(stream.read(), uri=uri).data
68
69 @classmethod
70 def _loads_v1(cls, lines: Sequence[str], *, uri: str) -> _Inventory:

Callers

nothing calls this directly

Calls 2

loadsMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected