MCPcopy Create free account
hub / github.com/python/mypy / load_bytes

Method load_bytes

mypyc/irbuild/ll_builder.py:1524–1526  ·  view source on GitHub ↗

Load a bytes literal value.

(self, value: bytes, line: int = -1)

Source from the content-addressed store, hash-verified

1522 return self.add(LoadLiteral(value, str_rprimitive, line))
1523
1524 def load_bytes(self, value: bytes, line: int = -1) -> Value:
1525 """Load a bytes literal value."""
1526 return self.add(LoadLiteral(value, bytes_rprimitive, line))
1527
1528 def load_complex(self, value: complex, line: int = -1) -> Value:
1529 """Load a complex literal value."""

Callers 2

load_literal_valueMethod · 0.80

Calls 2

addMethod · 0.95
LoadLiteralClass · 0.90

Tested by

no test coverage detected