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

Method write

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

Source from the content-addressed store, hash-verified

3028 )
3029
3030 def write(self, data: WriteBuffer) -> None:
3031 write_tag(data, TYPED_DICT_TYPE)
3032 self.fallback.write(data)
3033 write_type_map(data, self.items)
3034 write_str_list(data, sorted(self.required_keys))
3035 write_str_list(data, sorted(self.readonly_keys))
3036 write_tag(data, END_TAG)
3037
3038 @classmethod
3039 def read(cls, data: ReadBuffer) -> TypedDictType:

Callers

nothing calls this directly

Calls 4

write_str_listFunction · 0.90
write_type_mapFunction · 0.85
sortedFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected