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

Method write

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

Source from the content-addressed store, hash-verified

3254 )
3255
3256 def write(self, data: WriteBuffer) -> None:
3257 write_tag(data, TYPE_VAR_EXPR)
3258 write_str(data, self._name)
3259 write_str(data, self._fullname)
3260 mypy.types.write_type_list(data, self.values)
3261 self.upper_bound.write(data)
3262 self.default.write(data)
3263 write_int(data, self.variance)
3264 write_tag(data, END_TAG)
3265
3266 @classmethod
3267 def read(cls, data: ReadBuffer) -> TypeVarExpr:

Callers

nothing calls this directly

Calls 3

write_strFunction · 0.90
write_intFunction · 0.90
writeMethod · 0.45

Tested by

no test coverage detected