Skip to content

Commit b777b04

Browse files
committed
ListBuiltins: remove duplicate "clear" builtin (after rebase)
1 parent 8d46a3c commit b777b04

File tree

1 file changed

+0
-10
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/list

1 file changed

+0
-10
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/list/ListBuiltins.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,14 +1319,4 @@ Object doGeneric(Object self) {
13191319
throw raise(TypeError, "unhashable type: '%p'", self);
13201320
}
13211321
}
1322-
1323-
@Builtin(name = "clear", fixedNumOfArguments = 1)
1324-
@GenerateNodeFactory
1325-
public abstract static class ListClearNode extends PythonBuiltinNode {
1326-
@Specialization
1327-
Object doPlist(PList self) {
1328-
self.clear();
1329-
return PNone.NONE;
1330-
}
1331-
}
13321322
}

0 commit comments

Comments
 (0)