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

Method write

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

Source from the content-addressed store, hash-verified

1577 )
1578
1579 def write(self, data: WriteBuffer) -> None:
1580 write_tag(data, EXTRA_ATTRS)
1581 write_type_map(data, self.attrs)
1582 write_str_list(data, sorted(self.immutable))
1583 write_str_opt(data, self.mod_name)
1584 write_tag(data, END_TAG)
1585
1586 @classmethod
1587 def read(cls, data: ReadBuffer) -> ExtraAttrs:

Callers

nothing calls this directly

Calls 4

write_str_listFunction · 0.90
write_str_optFunction · 0.90
write_type_mapFunction · 0.85
sortedFunction · 0.85

Tested by

no test coverage detected