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

Method serialize

mypyc/ir/rtypes.py:1107–1108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1105 return hash(self.item_type) ^ 1
1106
1107 def serialize(self) -> JsonDict:
1108 return {".class": "RVec", "item_type": self.item_type.serialize()}
1109
1110 @classmethod
1111 def deserialize(cls, data: JsonDict, ctx: DeserMaps) -> RVec:

Callers 4

serializeMethod · 0.45
serializeMethod · 0.45
write_cacheFunction · 0.45

Calls

no outgoing calls

Tested by 1