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

Method read_binary

Lib/importlib/metadata/__init__.py:383–384  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

381 return self.locate().read_text(encoding=encoding)
382
383 def read_binary(self) -> bytes:
384 return self.locate().read_bytes()
385
386 def locate(self) -> SimplePath:
387 """Return a path-like object for this path"""

Callers 2

test_read_binaryMethod · 0.80
_test_filesMethod · 0.80

Calls 2

locateMethod · 0.95
read_bytesMethod · 0.45

Tested by 2

test_read_binaryMethod · 0.64
_test_filesMethod · 0.64