MCPcopy
hub / github.com/python/mypy / write

Method write

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

Source from the content-addressed store, hash-verified

967 )
968
969 def write(self, data: WriteBuffer) -> None:
970 write_tag(data, TYPE_VAR_TUPLE_TYPE)
971 self.tuple_fallback.write(data)
972 write_str(data, self.name)
973 write_str(data, self.fullname)
974 write_int(data, self.id.raw_id)
975 write_str(data, self.id.namespace)
976 self.upper_bound.write(data)
977 self.default.write(data)
978 write_int(data, self.min_len)
979 write_tag(data, END_TAG)
980
981 @classmethod
982 def read(cls, data: ReadBuffer) -> TypeVarTupleType:

Callers

nothing calls this directly

Calls 3

write_strFunction · 0.90
write_intFunction · 0.90
writeMethod · 0.45

Tested by

no test coverage detected