Skip to content

Commit 05e5de0

Browse files
Update classdef.py
1 parent 2f693b9 commit 05e5de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/classdef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def finalize(self, ir: ClassIR) -> None:
263263
non_ext_class = load_decorated_class(self.builder, self.cdef, non_ext_class)
264264

265265
# Try to avoid contention when using free threading.
266-
self.builder.builder.set_immortal_if_py312plus(non_ext_class, self.cdef.line)
266+
self.builder.set_immortal_if_py312plus(non_ext_class, self.cdef.line)
267267

268268
# Save the decorated class
269269
self.builder.add(

0 commit comments

Comments
 (0)