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

Method open

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

Source from the content-addressed store, hash-verified

105 return self._name
106
107 def open(self, mode='r', *args, **kwargs):
108 return _io_wrapper(
109 self._reader.open_resource(self.name), mode, *args, **kwargs
110 )
111
112 class OrphanPath(abc.Traversable):
113 """

Callers

nothing calls this directly

Calls 2

_io_wrapperFunction · 0.85
open_resourceMethod · 0.45

Tested by

no test coverage detected