MCPcopy Create free account
hub / github.com/python/mypy / finalize

Method finalize

mypyc/irbuild/classdef.py:247–248  ·  view source on GitHub ↗

Perform any final operations to complete the class IR

(self, ir: ClassIR)

Source from the content-addressed store, hash-verified

245
246 @abstractmethod
247 def finalize(self, ir: ClassIR) -> None:
248 """Perform any final operations to complete the class IR"""
249
250 def class_body_obj(self) -> Value | None:
251 """Return the object to use for loading class attributes during class body init.

Callers 1

finalizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected