Skip to content

Commit 907f379

Browse files
committed
chore: add comment
1 parent 91cf813 commit 907f379

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/irbuild/vtable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def compute_vtable(cls: ClassIR) -> None:
1515

1616
if not cls.is_generated:
1717
cls.has_dict = any(x.inherits_python for x in cls.mro)
18+
# TODO: define more weakref triggers
1819
cls.supports_weakref = cls.supports_weakref or cls.has_dict
1920

2021
for t in cls.mro[1:]:

0 commit comments

Comments
 (0)