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

Method write

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

Source from the content-addressed store, hash-verified

2085 )
2086
2087 def write(self, data: WriteBuffer) -> None:
2088 write_tag(data, PARAMETERS)
2089 write_type_list(data, self.arg_types)
2090 write_int_list(data, [int(x.value) for x in self.arg_kinds])
2091 write_str_opt_list(data, self.arg_names)
2092 write_type_list(data, self.variables)
2093 write_bool(data, self.imprecise_arg_kinds)
2094 write_tag(data, END_TAG)
2095
2096 @classmethod
2097 def read(cls, data: ReadBuffer) -> Parameters:

Callers

nothing calls this directly

Calls 4

write_int_listFunction · 0.90
write_str_opt_listFunction · 0.90
write_type_listFunction · 0.85
intClass · 0.85

Tested by

no test coverage detected