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

Method write

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

Source from the content-addressed store, hash-verified

1127 )
1128
1129 def write(self, data: WriteBuffer) -> None:
1130 write_tag(data, UNBOUND_TYPE)
1131 write_str(data, self.name)
1132 write_type_list(data, self.args)
1133 write_str_opt(data, self.original_str_expr)
1134 write_str_opt(data, self.original_str_fallback)
1135 write_tag(data, END_TAG)
1136
1137 @classmethod
1138 def read(cls, data: ReadBuffer) -> UnboundType:

Callers

nothing calls this directly

Calls 3

write_strFunction · 0.90
write_str_optFunction · 0.90
write_type_listFunction · 0.85

Tested by

no test coverage detected