MCPcopy Index your code
hub / github.com/python/cpython / open

Method open

Lib/importlib/resources/_adapters.py:78–79  ·  view source on GitHub ↗
(self, mode='r', *args, **kwargs)

Source from the content-addressed store, hash-verified

76 return self._spec.name
77
78 def open(self, mode='r', *args, **kwargs):
79 return _io_wrapper(self._reader.open_resource(None), mode, *args, **kwargs)
80
81 class ChildPath(abc.Traversable):
82 """

Callers

nothing calls this directly

Calls 2

_io_wrapperFunction · 0.85
open_resourceMethod · 0.45

Tested by

no test coverage detected