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

Method write

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

Source from the content-addressed store, hash-verified

884 )
885
886 def write(self, data: WriteBuffer) -> None:
887 write_tag(data, PARAM_SPEC_TYPE)
888 self.prefix.write(data)
889 write_str(data, self.name)
890 write_str(data, self.fullname)
891 write_int(data, self.id.raw_id)
892 write_str(data, self.id.namespace)
893 write_int(data, self.flavor)
894 self.upper_bound.write(data)
895 self.default.write(data)
896 write_tag(data, END_TAG)
897
898 @classmethod
899 def read(cls, data: ReadBuffer) -> ParamSpecType:

Callers

nothing calls this directly

Calls 3

write_strFunction · 0.90
write_intFunction · 0.90
writeMethod · 0.45

Tested by

no test coverage detected