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

Method write

mypy/types.py:731–741  ·  view source on GitHub ↗
(self, data: WriteBuffer)

Source from the content-addressed store, hash-verified

729 )
730
731 def write(self, data: WriteBuffer) -> None:
732 write_tag(data, TYPE_VAR_TYPE)
733 write_str(data, self.name)
734 write_str(data, self.fullname)
735 write_int(data, self.id.raw_id)
736 write_str(data, self.id.namespace)
737 write_type_list(data, self.values)
738 self.upper_bound.write(data)
739 self.default.write(data)
740 write_int(data, self.variance)
741 write_tag(data, END_TAG)
742
743 @classmethod
744 def read(cls, data: ReadBuffer) -> TypeVarType:

Callers

nothing calls this directly

Calls 4

write_strFunction · 0.90
write_intFunction · 0.90
write_type_listFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected