Skip to content

Commit de02608

Browse files
committed
fix: test annontate
1 parent 34a4894 commit de02608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/annotate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def function_annotations(func_ir: FuncIR, tree: MypyFile) -> dict[int, list[Anno
215215
ann = "Dynamic method call."
216216
elif name in op_hints:
217217
ann = op_hints[name]
218-
elif name in ("CPyDict_GetItem", "CPyDict_SetItem"):
218+
elif name in ("CPyDict_GetItemUnsafe", "PyDict_SetItem"):
219219
if (
220220
isinstance(op.args[0], LoadStatic)
221221
and isinstance(op.args[1], LoadLiteral)

0 commit comments

Comments
 (0)