We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06037f4 commit 9efbf67Copy full SHA for 9efbf67
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/set/SetBuiltins.java
@@ -103,7 +103,7 @@ abstract static class RemoveNode extends PythonBinaryBuiltinNode {
103
Object remove(PBaseSet self, Object other,
104
@Cached("create()") HashingStorageNodes.DelItemNode delItemNode) {
105
106
- if (delItemNode.execute(self, self.getDictStorage(), other)) {
+ if (!delItemNode.execute(self, self.getDictStorage(), other)) {
107
throw raise(PythonErrorType.KeyError, "%s", other);
108
}
109
return PNone.NONE;
0 commit comments