MCPcopy Index your code
hub / github.com/python/mypy / test_load_address

Method test_load_address

mypyc/test/test_emitfunc.py:786–790  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

784 )
785
786 def test_load_address(self) -> None:
787 self.assert_emit(
788 LoadAddress(object_rprimitive, "PyDict_Type"),
789 """cpy_r_r0 = (PyObject *)&PyDict_Type;""",
790 )
791
792 def test_assign_multi(self) -> None:
793 t = RArray(object_rprimitive, 2)

Callers

nothing calls this directly

Calls 2

assert_emitMethod · 0.95
LoadAddressClass · 0.90

Tested by

no test coverage detected