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

Method write

mypy/nodes.py:5178–5185  ·  view source on GitHub ↗
(self, data: WriteBuffer)

Source from the content-addressed store, hash-verified

5176 )
5177
5178 def write(self, data: WriteBuffer) -> None:
5179 write_tag(data, DT_SPEC)
5180 write_bool(data, self.eq_default)
5181 write_bool(data, self.order_default)
5182 write_bool(data, self.kw_only_default)
5183 write_bool(data, self.frozen_default)
5184 write_str_list(data, self.field_specifiers)
5185 write_tag(data, END_TAG)
5186
5187 @classmethod
5188 def read(cls, data: ReadBuffer) -> DataclassTransformSpec:

Callers

nothing calls this directly

Calls 1

write_str_listFunction · 0.90

Tested by

no test coverage detected