Skip to content

Commit 6999bfc

Browse files
committed
variable name fix
1 parent 4dc49df commit 6999bfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/lib/PyObjectDelItem.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ static void doWithFrame(VirtualFrame frame, Object primary, Object index,
7272
@Cached("create(DelItem)") LookupSpecialMethodSlotNode lookupDelitem,
7373
@Cached PRaiseNode raise,
7474
@Cached CallBinaryMethodNode callDelitem) {
75-
Object setitem = lookupDelitem.execute(frame, getClassNode.execute(primary), primary);
76-
if (setitem == PNone.NO_VALUE) {
75+
Object delitem = lookupDelitem.execute(frame, getClassNode.execute(primary), primary);
76+
if (delitem == PNone.NO_VALUE) {
7777
throw raise.raise(TypeError, ErrorMessages.OBJ_DOESNT_SUPPORT_DELETION, primary);
7878
}
79-
callDelitem.executeObject(frame, setitem, primary, index);
79+
callDelitem.executeObject(frame, delitem, primary, index);
8080
}
8181

8282
@Specialization(replaces = "doWithFrame")

0 commit comments

Comments
 (0)